Ok so i figure out that the three light flashing when I upgraded the firmware is occuring with this code loaded:
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);
};
But with my other code that I posted there were no lights flashing at me.
When I loaded this code with 1v92 it then tried to re-pair with windows it fails and the light stopped blinking on the puck. And I get the error "Try connecting your device again."
It won't re pair no matter what mode I put it in on 1v92.
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.
Ok so i figure out that the three light flashing when I upgraded the firmware is occuring with this code loaded:
But with my other code that I posted there were no lights flashing at me.
When I loaded this code with 1v92 it then tried to re-pair with windows it fails and the light stopped blinking on the puck. And I get the error "Try connecting your device again."
It won't re pair no matter what mode I put it in on 1v92.