ross25
1
Hey this is my first project im doing and it says,
"Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"
C:\Users\rosst\AppData\Local\Temp\cchscUDb.ltrans0.ltrans.o: In function `main':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:46: undefined reference to `loop'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Uno. "
In the error message. Any help?
pert
2
Every Arduino sketch must contain both a setup() and a loop() function. Your sketch is missing the loop() function, which is the cause of the error.
ross25
3
Thank you, sorry for taking your time, im very new to this!
pert
4
You're welcome. Don't worry about it; we're here to help. Welcome to Arduino!
Per