-
• #2
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});
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});
Hi, can anyone tell me how to implement the RTS/CTS between hm-10 and espruino.
I want to let espruino sleep and only wake up when there is a RX/TX.
Thanks.