However the idea with debouncing is good? If you are sending 0/1 bits with some known minimal pulse length then debouncing to something less could save the CPU quite a lot by not firing the setWatch callback for shorter pulses? And maybe even filter out some noise so even some bits could be received despite the noise?
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.
However the idea with debouncing is good? If you are sending 0/1 bits with some known minimal pulse length then debouncing to something less could save the CPU quite a lot by not firing the setWatch callback for shorter pulses? And maybe even filter out some noise so even some bits could be received despite the noise?