class Door {
...
} // <-- Missing a semicolon
...
void setup() {
Serial.begin(9600);
myDoor = new Door(); // <-- Remove this line
}
See the comments
class Door {
...
} // <-- Missing a semicolon
...
void setup() {
Serial.begin(9600);
myDoor = new Door(); // <-- Remove this line
}
See the comments