If you add NRF.on('disconnect', function() { digitalPulse(LED3,1,1000); setTimeout("reset()",1500);}); you'll see the LED flash, which would tell you if it was resetting.
I think your problem might just be that you haven't put a newline at the end of the write command?
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.
If you add
NRF.on('disconnect', function() { digitalPulse(LED3,1,1000); setTimeout("reset()",1500);});
you'll see the LED flash, which would tell you if it was resetting.I think your problem might just be that you haven't put a newline at the end of the
write
command?