I got this error while i try to compile my code

In file included from c:\Users\BlackJack\OneDrive\Dokumen\Arduino\libraries\Blynk\src/BlynkApiArduino.h:14,
from c:\Users\BlackJack\OneDrive\Dokumen\Arduino\libraries\Blynk\src/BlynkSimpleEsp8266.h:24,
from C:\Users\BlackJack\AppData\Local\Temp.arduinoIDE-unsaved202375-10356-npod8a.b4p5q\sketch_aug5a\sketch_aug5a.ino:10:
c:\Users\BlackJack\OneDrive\Dokumen\Arduino\libraries\Blynk\src/Blynk/BlynkApi.h:39:6: error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_TEMPLATE_NAME"
39 | #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_TEMPLATE_NAME"
| ^~~~~
Multiple libraries were found for "SoftwareSerial.h"
Used: C:\Users\BlackJack\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\SoftwareSerial
Not used: C:\Users\BlackJack\OneDrive\Dokumen\Arduino\libraries\EspSoftwareSerial
exit status 1`

1 Like

Hello anikjunaedy14

Welcome to the worldbest Arduino forum ever.

Well you can check, read and analyze the error report provided by the compiler.

Just a WAG here, but it looks like you failed to specify your BLYNK_TEMPLATE_ID and BLYNK_TEMPLATE_NAME.

Didn't you?

Please post your code. Or a small example sketch that demonstrates the same problem.

a7

Hi, @anikjunaedy14
Welcome to the forum.

Can you please post your code as instructed in the link above?

Thanks.. Tom... :grinning: :+1: :coffee: :australia:

#define BLYNK_TEMPLATE_ID "TMPL64qWxsK6i"
#define BLYNK_TEMPLATE_NAME "Tugas kelompok"
#define BLYNK_AUTH_TOKEN "Mod edit: credentials removed"

I HAVE ENTERED CORRECTLY BUT STILL WON'T CONNECT

1 Like

I have same issue, how did you solve this?

Probably you have BLYNK_TEMPLATE_ID and the others defined later to the Blynk library. So, the code format should be:

#define BLYNK_TEMPLATE_ID "............"
#define BLYNK_TEMPLATE_NAME "................."
#define BLYNK_AUTH_TOKEN "....................."
#include <BlynkSimpleEsp8266.h>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.