RotaryEncoder
RotaryEncoder copied to clipboard
defined(ARDUINO_AVR_NANO_EVERY) not work with Nano
thank for your library, is very good !
i use Nano, and the precompilator "defined(ARDUINO_AVR_NANO_EVERY)" not work for my arduino ide 1.8.13 the correct syntax is "defined(ARDUINO_AVR_NANO)"
- in your exemple "AcceleratedRotator" exst 2 .ino strictely identical
best regard,
Stef
These are 2 completely different boards with different processors: https://docs.arduino.cc/hardware/nano-every vs. https://docs.arduino.cc/hardware/nano.
you did not understand what i mean in your examples you use #if defined (ARDUINO_AVR_UNO) || defined (ARDUINO_AVR_NANO_EVERY) the uno and the nano use the same microcontroller instead, we should write #if defined (ARDUINO_AVR_UNO) || defined (ARDUINO_AVR_NANO) || defined (ARDUINO_AVR_NANO_EVERY)
I see, thanks for explaining - I got you wrong. Can you create a pull request ?