DF Robot Project error
![userHead](https://dfimg.dfrobot.com/dfPortrait2.png)
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 15:21:07
Tonny12138
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!
![userHeadPic](https://dfimg.dfrobot.com/dfPortrait2.png)