Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By tdurkin
#72206 Hello all,

I'm not sure if I'm missing something obvious, but I'm having trouble using a rotary encoder with the Feather Huzzah ESP8266 board. I'd like to use the standard PaulStoffregen Encoder Library, but even the example code throws the error: "Error compiling for board Adafruit Huzzah ESP8266". I've tried both the basic and no interrupts examples from the Encoder Library, but can't get them to compile to see if they would work. They work just fine on the uno and nano I tried them on.

Is this a limitation of this library and board combination, am I missing an #include, or doing something else wrong? Thanks in advance for any help.
User avatar
By schufti
#72209 a) enable verbose compiler messages and copy the relevant part in full.
your post is like "doctor I feel a pain" ... not very helpfull

b) not all arduino libs aare ESp8266 compatible, especially if the last revision is older than 1-2 years

c) try others rotary encoder libraries, there are some (even on this board).