Thankyou @Gordon, that works... I've put in the extra semi-colons...
NRF.disconnect();setTimeout(function() { NRF.restart(function(){ LED.set(); poke32(0x4001e504,1);while(!peek32(0x4001e400)); // enable flash writing poke32(0x1000120c,0xfffffffe);while(!peek32(0x4001e400)); // NFC pins as GPIO poke32(0x4001e504, 0);while(!peek32(0x4001e400)); // disable flash writing });}, 1000);
@natman1970 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.
Thankyou @Gordon, that works... I've put in the extra semi-colons...