r/ArduinoProjects • • Aug 22 '24

Why is this error occuring??

Post image
0 Upvotes

18 comments sorted by

View all comments

Show parent comments

3

u/BoldVoltage Aug 22 '24

Yes the error messages are actually helpful.

0

u/quellflynn Aug 22 '24

sort of... they are overwhelming to a beginner.

miss out a single ';' like in this code for a larger program and you'll have 30 errors... it gets confused by the first error, continues till it finds the next ;

then it can't make sense of that statement and carries on, with the next error, as the last error didn't setup properly

and on and on and on.

so you try to fix the error, but undoubtedly you start at the last error (the one you can see) and spend ages to and fro-ing.

1

u/inotocracy Aug 23 '24

Yeah agree it can be confusing at first, but its important to actually try to comprehend the error message it spits out.

1

u/Lower-Programmer-487 Nov 21 '24

Now am a Lil bit more experienced to not miss a ; at the end 😂😂... Tbh that was my first code... (Copied it off from a website)