Skip to content

'Serial' was not declared in this scope #27

@StephiB

Description

@StephiB

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions