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
© Espruino, powered by microcosm.
Report a problem