NewEncoder
NewEncoder copied to clipboard
add more variants for identical atmega AVR chips
Hi, I love you library however it is missing some definitions in interrupt_pins.h for atmega 328p/168p and similar that can be choosen for example in miniCore and all have the same pinout and interrupts:
#elif defined(__AVR_ATmega328P__) || defined(__AVR_ATmega328PB__) ||defined(__AVR_ATmega168__) || defined(__AVR_ATmega8__) #define CORE_NUM_INTERRUPT 2
should be extended with (__AVR_ATmega328__) || (__AVR_ATmega168P__) ||(__AVR_ATmega168PB__) || (__AVR_ATmega88__) || (__AVR_ATmega88P__) || (__AVR_ATmega88PB__)
OK, let me look at it.