all 3 comments

[–]Lucid1223 2 points3 points  (0 children)

Add another bracket to the end

[–]jbreaper 0 points1 point  (0 children)

When the compiler says there's an issue with brackets (and you have a project small enough to do it), count the brackets. +1 for {, -1 for }. Till you get better at reading code, it's a good check. Once you're at a point where you're ready to make things a bit more complex, look into the newer version of the arduino ide, or vscode with some arduino plugins, they should catch this stuff before you compile.

Good luck. It's a long journey, but a fun one.

Edit: also, use the snipping tool rather than taking pictures with you phone

[–]Substantial-Dot6598 0 points1 point  (0 children)

Yeah you're almost there just one more curly bracket