DF Robot Project error
Shai.Shepes 2023-01-01 18:36:30 504 Views1 Replies Hi all,
I am using the DFRobot Beginner kit for Arduino.
I am up to project 3 and I am getting errors, even directly copy and pasting the code from the guide.
The error is on the “void loop() {” line and the error message is “Compilation error: a function-definition is not allowed here before '{' token”.
Could someone perhaps explain the solve?
For those interested, it is page 35 of the PDF.
Thanks
2023-01-31 23:21:07
JaneYu
Hi
Could you please attach a screenshot of your code here?
According to the error message, chances are that you miss an “{” or “}” somewhere.
Hope it can help!
JaneYu 
