#if defined(PCINT0_vect)
ISR(PCINT0_vect)
{
SoftwareSerial::handle_interrupt();
}
#endif
#if defined(PCINT1_vect)
ISR(PCINT1_vect)
{
SoftwareSerial::handle_interrupt();
}
#endif
#if defined(PCINT2_vect)
ISR(PCINT2_vect)
{
SoftwareSerial::handle_interrupt();
}
#endif
#if defined(PCINT3_vect)
ISR(PCINT3_vect)
{
SoftwareSerial::handle_interrupt();
}
#endif
Is there a possible way to make these two compiled together?
I keep getting this errors everytime I try to compile it
SoftwareSerial\SoftwareSerial.cpp.o: In function
__vector_5': C:\Program Files\Arduino\libraries\SoftwareSerial/SoftwareSerial.cpp:319: multiple definition of
__vector_5'
GSM\GSM3SoftSerial.cpp.o:C:\Program Files\Arduino\libraries\GSM/GSM3SoftSerial.cpp:527: first defined here