NeoSWSerial icon indicating copy to clipboard operation
NeoSWSerial copied to clipboard

Error using with arduino ISR vector

Open alxkos opened this issue 2 years ago • 0 comments

Hey, having same problem as with SoftwareSerial.h Both having a problem working with PCINT ISR

NeoSWSerial.cpp.o (symbol from plugin): In function `NeoSWSerial::read()':
(.text+0x0): multiple definition of `__vector_4'
.pio\build\328p\src\main.cpp.o (symbol from plugin):(.text+0x0): first 
defined here
SoftwareSerial.cpp.o (symbol from plugin): In function `SoftwareSerial::read()':
(.text+0x0): multiple definition of `__vector_4'
.pio\build\328p\src\main.cpp.o (symbol from plugin):(.text+0x0): first 
defined here

ISR (PCINT1_vect){ digitalWrite(EN_PIN, HIGH); PCICR = 0; x_stall = 1;}

Any suggestions? Thanks

alxkos avatar Nov 07 '23 12:11 alxkos