What is the code you use for getting the switches' state? Depending how you connect your switches - pins B8 an dB9 against 3.3V or against GND grounbd, you have to set the pins' modes to either input_pulldown or input_pullup.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
What is the code you use for getting the switches' state? Depending how you connect your switches - pins B8 an dB9 against 3.3V or against GND grounbd, you have to set the pins' modes to either input_pulldown or input_pullup.