Thanks for the update! Actually it seems that it would be a bug of Bluetooth UART write fills buffers if nothing is reading from it. I'll look into that.
About the original switch, I believe that if echo(0) is called, nothing will be printed to the UART to indicate the change.
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.
Thanks for the update! Actually it seems that it would be a bug of Bluetooth UART write fills buffers if nothing is reading from it. I'll look into that.
About the original switch, I believe that if
echo(0)
is called, nothing will be printed to the UART to indicate the change.