#define BLYNK_TEMPLATE_ID "TMPL3YHiw-bKT"
#define BLYNK_TEMPLATE_NAME "Potentiometer" #define BLYNK_AUTH_TOKEN
"dD_76IbS2QcTGAqH1MYbhY7-Y-Pl6kmx"

#include <ESP8266WIFI.h>
#include <BlynkSimpleEsp8266.h> 
 
int potpin = A0;
int potvalue;



char auth[] = BLYNK_AUTH_TOKEN;
char[] ssid = Aslam";
char[] pass = "123456789";

void setap(){
    Serial.begin(9600);
    pinMode(potpin,INPUT);
    Blynk.begin(auth,ssid,pass);
}


void loop(){
    
    potvalue = analogRead(potpin);
    
    Blynk.run();
    
    Blynk.virtualWrite(V0,potvalue);
    
    Serial.println(potvalue);
}