-->
Page 1 of 1

Rotary Encoder and Feather Huzzah ESP8266

PostPosted: Thu Nov 30, 2017 7:14 pm
by tdurkin
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.

Re: Rotary Encoder and Feather Huzzah ESP8266

PostPosted: Fri Dec 01, 2017 1:48 am
by schufti
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).

Re: Rotary Encoder and Feather Huzzah ESP8266

PostPosted: Sat Dec 02, 2017 8:49 pm
by synfinatic
Try this fork of Paul's Encoder library. Works fine for me with the ESP8266 & the Huzzah: https://github.com/realholgi/Encoder