Forum >DF Robot Project error
General

DF Robot Project error

userHead Shai.Shepes 2023-01-01 18:36:30 325 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