-
• #2
OK.
I hadn't switched over the tiny SMD switch across on the board to switch it to i2c mode.
Works now!
I'll get my coat.
-
• #3
Great! glad you got it sorted! I'm surprised about the hang though - I2C should usually time out and throw an exception.
It it happens again, it'd be interesting to see if Ctrl-C will break out of it...
Whenever I try and query the nfc object it just hangs.
I'm using Espruino Wifi and have my setup code like this:
That doesn't make anything hang.
But if I then try this
It just hangs. Doesn't matter what method I call on the nfc class, it just hangs straight away.
I've tried i2c1 as well and I seem the same behaviour.
Any ideas?