Hi, I´m new on arduino and on my searchings in the diferent forums, i find a few answers with the arduino sketch…
my problem is in the softwareserial.cpp… the error of compilation is the following
NewSoftSerial.cpp:518: error: no ‘void SoftwareSerial::enable_timer0(bool)’ member function declared in class ‘SoftwareSerial’
the lines are these:
void SoftwareSerial::enable_timer0(bool enable)
{
if (enable)
#if defined(__AVR_ATmega8__)
sbi(TIMSK, TOIE0);
#else
sbi(TIMSK0, TOIE0);
#endif
else
#if defined(__AVR_ATmega8__)
cbi(TIMSK, TOIE0);
#else
cbi(TIMSK0, TOIE0);
#endif
}
void SoftwareSerial::flush()
{
if (active_object == this)
{
uint8_t oldSREG = SREG;
cli();
_receive_buffer_head = _receive_buffer_tail = 0;
SREG = oldSREG;
}
}