You are reading a single comment by @d0773d and its replies.
Click here to read the full conversation.
-
@DrAzzy, I noticed the same thing when working with serial. I would spend hours swapping Rx and tx on both the Espruino and the device I'm communicating with. I would unplug the Espruino from USB and plug it back in. I would also try resaving the code. Then finally, like magic, serial communication works. Why do you think that happens?
It's working now. I had the SDA and SCL backwards.... But what makes no sense is that I tried swapping SDA and SCL at least half a dozen times last night.
This is the same kind of madness that I had to deal with last time I was working with this part. Hours of rechecking simple things, then finally something I've checked before fixes it.