Need help with this authentication error

Where exactly do i need to add them ? can you share a screenshot please

BEFORE, and AFTER your code.

Pete.

in the void(setup) or at starting where we are including libraries ?

Like this
triple backticks

1 Like

error: stray ‘`’ in program
20 | ```

I’ve placed “ <<< Triple Backticks HERE” where you need to put them.

Edit your post, using the pencil icon at the bottom, and replace “<<< Triple Backticks HERE” with triple backticks. If you can’t find the backtick character on your keyboard then copy/paste the ones that @John93 provided.

Pete.

ok got it

Do you have the latest version of the blynk library (1.1.0) installed ?

yes sir

Pete.

When you’ve edited your original post and removed the “<<< Triple Backticks HERE” text that I added, I’ll post a link that explains why you are seeing this and how to fix it.

Pete.

done

Read this…

Pete.

Additionally, make sure that just one Blynk library is installed. Check the libraries folder. If you find multiple Blynk libraries installed, keep the most recent one and delete the others.

Sorry i did not mean any shouting its just caps lock .
i am using a 12 v 5Ah battery pack , 30 A ESC , ESP8266 and Blynk Platform .
i have connected esc cables to pin GROUND and PIN D4 for out put . The slider in the blynk is named speed with Virtual pin 2 . In the serial monitor i am able to see the change done in the slider value till yesterday but today i am not able to see any change in value of slider .

18070] Connected to WiFi
[18070] IP: 192.168.125.240
[18071] 
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v1.1.0 on ESP8266

 #StandWithUkraine    https://bit.ly/swua

[18201] Connecting to blynk.cloud:80
[18511] Ready (ping: 99ms).

It is connected to the server but no response about the slider value .

i tried by creating a new dashboard and have the changes in the code .
The ESC beeps three time which means it is connected .

/* Comment this out to disable prints and save space */
#define BLYNK_TEMPLATE_ID "TMPLSHrYIobi"
#define BLYNK_DEVICE_NAME "ANUJ"
#define BLYNK_AUTH_TOKEN "2YRXfgjgpl3PXx9AyLqTvMmL6j5CLZCT"
#define BLYNK_HEARTBEAT 60
#define BLYNK_PRINT Serial

#include <WiFiClient.h>
#define BLYNK_PRINT Serial

#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <Servo.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).

char auth[] = "2YRXfgjgpl3PXx9AyLqTvMmL6j5CLZCT";
char ssid[] = "ABC";
char pass[] = "12345678";

Servo ESC;
void setup()

{
  // Debug console
  Serial.begin(9600);
  ESC.attach(2,1000,2000);//Pin Number D4
  ESC.writeMicroseconds(1000);
  Blynk.begin(auth, ssid, pass);
}

BLYNK_WRITE(V0){
  int pinValue = param.asInt();
  pinValue = map(pinValue, 0, 1023, 0, 180);
  ESC.write(pinValue);
  ESC.writeMicroseconds(pinValue);
  Blynk.virtualWrite(V1, pinValue);
  Serial.print("V2 Slider Value is: ");
  Serial.println(pinValue);
}
void loop()
{
  Blynk.run();
}

Try this example

SIR I AM USING ESC . Its a servo motor code . .

Is not good to use capitals all the time, it comes across as SHOUTING!

Maybe you should start by sharing full information about all of the hardware you are using, and how it is connected and powered.

Pete.

Sorry. I missed that.