My program begins with this
#include <SoftwareSerial.h>
#include "outback.h"
#define rxPin 4
#define txPin 5
SoftwareSerial outback = SoftwareSerial(rxPin, txPin);
StatusPage status_page1(outback);
StatusPage status_page2(outback);
StatusPage status_page3(outback);
StatusPage status_page4(outback);
void setup()
{ Serial.begin(19200);
outback.begin(19200);
When I compile I get the error in the subject line. I can comment out everything above the void setup() and still get the error. If I delete everything above the blank line (but leave the blank line) the error disappears (but of course the program has errors elsewhere). I can comment out just the blank line and still get the error. But if I remove the blank line the error disappears. If I leave everything as shown and add a comment immediately above the setup line, the error disappears.
There appears to be some interaction going on with the outback.cpp file which is open in the IDE, but I don't see why that should be.
I'm baffled.