Thanks for this code. I added console.log and LED blink inside the loop, to convince myself it had not hung. The slowness is a drag. Eventually I discovered that the i2c device I was using actually had its address documented. https://learn.adafruit.com/adafruit-i2c-qt-rotary-encoder
Search Options
Types to Display
Espruino
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.
Thanks for this code. I added
console.log
and LED blink inside the loop, to convince myself it had not hung. The slowness is a drag. Eventually I discovered that the i2c device I was using actually had its address documented. https://learn.adafruit.com/adafruit-i2c-qt-rotary-encoder