Right - well it's expected that you'd have to run SAMConfig in onInit - after all, the NFC doesn't remember anything.
However you shouldn't need I2C.setup - thanks for your dump() command output - it looks to me like this is a bug in Espruino (the digitalWrite would end up resetting the pins after they'd been set up for I2C).
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.
Right - well it's expected that you'd have to run SAMConfig in
onInit
- after all, the NFC doesn't remember anything.However you shouldn't need
I2C.setup
- thanks for yourdump()
command output - it looks to me like this is a bug in Espruino (the digitalWrite would end up resetting the pins after they'd been set up for I2C).