Hey all.
Probably a noob question but I’m hitting a wall as I follow the device quickstart guide. Running an Arduino Uno over USB using the stock IDE.
Unfortunately the code given in the quickstart is not even compiling for me. Can’t help but feel like something’s missing but I’m copying it verbatim and it’s throwing errors. Library is installed in the right place, picked right board in the IDE, etc. Here is the code from the quickstart;
#define BLYNK_TEMPLATE_ID "xxxxxxxxxxxx"
#define BLYNK_DEVICE_NAME "Quickstart Device"
#define BLYNK_AUTH_TOKEN "xxxxxxxxxxxxxxxxxxxxxxxx"
And it’s giving these errors;
C:\Users\xxxx\AppData\Local\Temp\ccnPOoqf.ltrans0.ltrans.o: In function `main':
C:\Users\xxxx\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino/main.cpp:43: undefined reference to `setup'
C:\Users\xxxx\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\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.
Seems like something obvious but just confusing because I’m following the guide exactly.