Ahh, so you're saying the issue was that the NFC module wasn't initialised with onInit? Perhaps that should be in the Troubleshooting?
There's already a I TYPED save() BUT MY CONNECTED DEVICE DOESN'T WORK AT POWER ON (sorry for the caps - I copy-pasted), but it's actually very small and doesn't contain much info.
I've thought about trying to make those modules use on('init',... to initialise themselves, but to be honest I'm a bit worried. While it would help in the simple case, I wonder if the rest of the time it might actually make a whole new class of confusing errors?
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.
Ahh, so you're saying the issue was that the NFC module wasn't initialised with
onInit
? Perhaps that should be in the Troubleshooting?There's already a
I TYPED save() BUT MY CONNECTED DEVICE DOESN'T WORK AT POWER ON
(sorry for the caps - I copy-pasted), but it's actually very small and doesn't contain much info.I've thought about trying to make those modules use
on('init',...
to initialise themselves, but to be honest I'm a bit worried. While it would help in the simple case, I wonder if the rest of the time it might actually make a whole new class of confusing errors?