Error connecting to blynk app

#include <Wire.h>
#include <Adafruit_SSD1306.h>
#include <Adafruit_GFX.h>
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <MAX30100_PulseOximeter.h>
#include <Blynk.h>

#define BLYNK_TEMPLATE_ID "TMPL6zHDFzeKh"
#define BLYNK_TEMPLATE_NAME "Dany"
#define BLYNK_AUTH_TOKEN "cAvQjn11N9ek94Udr0u154DaSg08o1hO"
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire);
char auth[]= "cAvQjn11N9ek94Udr0u154DaSg08o1hO"
PulseOximeter pox;

char BLYNK_TEMPLATE_ID "TMPL6zHDFzeKh"
char BLYNK_TEMPLATE_NAME "Dany"
char ssid[] = "Dany";
char pass[] = "Namdan12003";
Blynk.begin(cAvQjn11N9ek94Udr0u154DaSg08o1hO, Dany, Namdan12003);
}
void setup() {

if (!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) {
Serial.println(F("SSD1306 allocation failed"));
for (;;);
}
display.clearDisplay();
display.setTextSize(1);
display.setTextColor(WHITE);
display.setCursor(0, 0);

if (!pox.begin()) {
Serial.println("Failed to initialize pulse oximeter");
}

void loop() {

pox.update();

display.clearDisplay();
display.setCursor(0, 0);
display.println("Heart rate: " + String(pox.getHeartRate()));
display.println("SpO2: " + String(pox.getSpO2()));
display.display();

Blynk.virtualWrite(V0, pox.getHeartRate());
Blynk.virtualWrite(V1, pox.getSpO2());

Blynk.run();
}
however it fails
In file included from c:\Arduino\libraries\Blynk\src/BlynkApiArduino.h:14,
from c:\Arduino\libraries\Blynk\src/BlynkSimpleEsp8266.h:24,
from C:\Users\PC\Downloads\Dany\Dany.ino:5:
c:\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"
| ^~~~~

I moved your topic to an appropriate forum category @namdan12.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

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