Unqualified id error

Hi all

first time using arduino and im just copying the code from the book from the starter kit, i have copied everything exact and got a few errors, i corrected them all but 1 ( unexpected unqualified id before 'else' could anyone help me with this please?

heres my code thank you

Do not post image of code.
Post the code by clicking < code > in the toolbar.

No quotes needed around your opening brace:

'{'

should be just:

{

thats what i thought but i got an error saying they should be there and it went away when i put them there

Missing "}" at loop end. void loop() { .......}

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.