gfvalvo / NewEncoder

Rotary Encoder Library
48 stars 16 forks source link

add more variants for identical atmega AVR chips #24

Open mvoss96 opened 1 year ago

mvoss96 commented 1 year ago

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__)

gfvalvo commented 1 year ago

OK, let me look at it.