I’ve used the IDE quite a bit, but not lately. I just upgraded to 1.8.0.
I’m trying to control an LCD display, using SoftwareSerial. The code below is a stripped-down version that shows the problem.
#include <SoftwareSerial.h>
SoftwareSerial sw_serial = SoftwareSerial(-1, 8);
void
setup()
{
pinMode (8, OUTPUT);
}
void
loop()
{
sw_serial.listen();
sw_serial.write((uint8_t) 0xfe);
sw_serial.write((uint8_t) 0x01);
}
When I verify this, I get:
In function ‘void loop()’:
error: ‘class SoftwareSerial’ has no member named 'listen
I’ve tried various board settings in the IDE, no change.