Device is offline. Can't get my device to turn on

I’ve been creating a new template and a new device using that template. But no matter what I try, the device remains in Offline itself. I double checked the auth token in the code. No errors in the code. How can I turn the device to Online. I’ll give my code also just in case. I included so many libraries to avoid any errors in the code.

#define BLYNK_TEMPLATE_ID "xxx"
#define BLYNK_TEMPLATE_NAME "xxx"
#include <ArduinoWiFiServer.h>
#include <BearSSLHelpers.h>
#include <CertStoreBearSSL.h>
#include <ESP8266WiFi.h>
#include <ESP8266WiFiAP.h>
#include <ESP8266WiFiGeneric.h>
#include <ESP8266WiFiGratuitous.h>
#include <ESP8266WiFiMulti.h>
#include <ESP8266WiFiSTA.h>
#include <ESP8266WiFiScan.h>
#include <ESP8266WiFiType.h>
#include <WiFiClient.h>
#include <WiFiClientSecure.h>
#include <WiFiClientSecureBearSSL.h>
#include <WiFiServer.h>
#include <WiFiServerSecure.h>
#include <WiFiServerSecureBearSSL.h>
#include <WiFiUdp.h>
#include <Servo.h>
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#define BLYNK_FIRMWARE_VERSION        "0.1.0"
#define BLYNK_PRINT Serial
#define USE_NODE_MCU_BOARD
//#include "BlynkEdgent.h"

Servo servo;
char auth[] = "-";//Enter your Blynk auth token
char ssid[] = "c";//Enter your WIFI name
char pass[] = "d";//Enter your WIFI password

BLYNK_WRITE(V1){
 int s0 = param.asInt(); 
 servo.write(s0);
 Blynk.virtualWrite(V0, s0);
}
void setup() {
 Serial.begin(9600);
 servo.attach(D7);
 Blynk.begin (auth, ssid, pass, "blynk.cloud", 80);
}

void loop() {
 Blynk.run();
}```

Hello @Nith , your project is servo only?
I see you include many different library.

Have you tried using the sketch in example? Blynk Example Browser

You would be far better to copy/paste the three lines of firmware configuration code from the Device > Device Info screen in the web console and paste them at the top of your sketch where these two line are currently…

Then delete this line…

and change this line…

to this…

Blynk.begin (BLYNK_AUTH_TOKEN, ssid, pass, "blynk.cloud", 80);

or better still this…

Blynk.begin (BLYNK_AUTH_TOKEN, ssid, pass);

You should also delete these lines of code…;

and delete this…

and this…

Then, take a look at what your serial monitor is showing you when you start the device.

Pete.