Hi - are there RTS/CTS pins on the HM-10? If so, just add some code like:
setWatch(function(e) { digitalWrite(CTS, e.state); setDeepSleep(!e.state); }, RTS, {edge:"both", repeat:true});
@Gordon started
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.
Hi - are there RTS/CTS pins on the HM-10? If so, just add some code like: