nfc hangs when querying the object #5831
Unanswered
espruino-discuss3
asked this question in
General
Replies: 1 comment
-
Posted at 2017-11-14 by BrendanDawes 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. Posted at 2017-11-15 by @gfwilliams 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... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-11-14 by BrendanDawes
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?
Beta Was this translation helpful? Give feedback.
All reactions