Go Down

Topic: Arduino Beginner Project: Networked Lamp (Read 387 times) previous topic - next topic

kbdozz

Hi all.

New to Arduino (annnnnnd C)....
I have created the circuit for, and written both the Processing and Arduino sketches, for the Lamp project.
The Arduino sketch seems to have compiled and uploaded without issue. The Processing sketch however gives me an error (see attachment).
I have re-read the sketch and checked and rechecked my work.
It STILL gives me the curly brackets error.
Any insights/advice for a frustrated new?
Thanks in advance.

PaulS

Quote
I have re-read the sketch and checked and rechecked my work.
It STILL gives me the curly brackets error.
Because you have two curly braces, on lines 116 and 117 that end the same function. Only one of them should be there.

Do NOT post pictures of code ever again. It's text, damn it. Copy and paste the text.
The art of getting good answers lies in asking good questions.

Go Up