I had the 3 light issue with this code loaded going from 1v91 -> 1v92 if that helps:
var kb = require("ble_hid_keyboard"); var on = false; function onInit() { NRF.setServices(undefined, { hid : kb.report }); setWatch(btnPressed, BTN, {edge:"rising",repeat:true,debounce:50}); flashLED(); } function btnPressed() { kb.tap(kb.KEY["c"], 0); } var flashLED = function() { on = !on; LED1.write(on); var interval; if(on) { interval = 5; } else { interval = 3000; } setTimeout(flashLED, interval); };
@Boydy 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.
I had the 3 light issue with this code loaded going from 1v91 -> 1v92 if that helps: