watterott / ATmega328PB-Testing

Atmel/Microchip ATmega328PB support for Arduino IDE
https://learn.watterott.com
76 stars 61 forks source link

'Serial' was not declared in this scope #27

Closed StephiB closed 6 years ago

StephiB commented 6 years ago

Using 1.8.5 IDE and AVR Boards 1.6.20 tried many different combinations but without success. Always the same error if Serial is called in setup: DigitalReadSerial:27: error: 'Serial' was not declared in this scope

Serial.println(buttonState);

^

exit status 1 'Serial' was not declared in this scope

awatterott commented 6 years ago

For the mega328PB you will need the AVR Boards 1.6.200. Further infos here