diff --git a/library.properties b/library.properties index 210f487..4350c92 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=NeoSWSerial -version=3.0.2 +version=3.0.3 author=SlashDevin maintainer=SlashDevin sentence=An efficient replacement for SoftwareSerial at baud rates 9600, 19200 and 38400. diff --git a/src/NeoSWSerial.cpp b/src/NeoSWSerial.cpp index 9e1d703..7dd1ca6 100644 --- a/src/NeoSWSerial.cpp +++ b/src/NeoSWSerial.cpp @@ -476,6 +476,13 @@ void NeoSWSerial::rxChar( uint8_t c ) PCINT_ISR(1, PINJ); PCINT_ISR(2, PINK); + #elif defined(__AVR_ATmega1281__) + + PCINT_ISR(0, PINB); + // PCINT8 on PE0 not supported. Other 7 are on PJ0..6 + PCINT_ISR(1, PINJ); + PCINT_ISR(2, PINK); + #elif defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega644P__) PCINT_ISR(0, PINA);