Hello.
I downloaded a sketch, Arduino – Display the LED Brightness on a LCD 16×2, from https://randomnerdtutorials.com/arduino-display-the-led-brightness-on-a-lcd-16×2/.
I copied and pasted it into a sketch on my computer, then tried to compile it. I received an error message,
exit status 1
expected ‘}’ at end of input
The last line of code, “delay(750);” was highlighted. I’m new enough to this that I’m not sure what it’s telling me is wrong,
What am I missing?
Hi
} is curly braces
it indicates a function end
https://processing.org/reference/curlybraces.html
you need to add
}
https://www.computerhope.com/cdn/keyboard/bracket.jpg
that the end
maybe when you copy the code… you did not copy last curly braces