NewEncoder icon indicating copy to clipboard operation
NewEncoder copied to clipboard

add more variants for identical atmega AVR chips

Open mvoss96 opened this issue 2 years ago • 1 comments

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

mvoss96 avatar Jan 22 '23 08:01 mvoss96

OK, let me look at it.

gfvalvo avatar Jan 25 '23 11:01 gfvalvo