Connect esp32 with Blynk

# define BLYNK_PRINT Serial
# include <SPI.h>
# include <ESP8266WiFi.h>
# include <BlynkSimpleEsp8266.h>
# include <SimpleTimer.h>
#include <TinyGPS++.h>
#include <SoftwareSerial.h>
char auth[] = "N2BQ-W-aerb8Ym80CD3l96eTr2e9ZoJy" ; //main esp32
char ssid[] = "rahul" ; 
char pass[] = "rahul123" ;
static const int RXPin = 2, TXPin = 3;
static const uint32_t GPSBaud = 9600;
double lati, longi, dmy,hmsc,kmphr,alt, sats;
// The TinyGPS++ object
TinyGPSPlus gps;
SoftwareSerial ss(RXPin, TXPin);
WidgetBridge bridge1(V1) ;
BlynkTimer timer ;
BLYNK_CONNECTED() {
  
bridge1.setAuthToken("IMllmyb21c1QBfB4qtEUcrp5aN-Uj1cI") ;// 2nd nodemcu
}

void sendSensor(){
  while (ss.available() > 0){
    gps.encode(ss.read());
    if (gps.location.isUpdated()){
      // Latitude in degrees (double)
      Serial.print("Latitude= ");
      lati = gps.location.lat();
      Serial.print(lati, 5);
           
      // Longitude in degrees (double)
      Serial.print(" Longitude= ");
      longi = gps.location.lng();
      Serial.println(longi, 6);
  }
  }
}

Blynk.virtualWrite(V1 , lati ) ;
Blynk.virtualWrite(V2 , longi) ; 


// The serial connection to the GPS device


void setup(){
  Serial.begin(9600);
  ss.begin(GPSBaud);
  
  Blynk.begin(auth, ssid, pass); // start up Blynk

  // this uploads data from sensor to Blynk at 1 second intervals
  timer.setInterval(1000L, sendSensor);
  //timer.setInterval(2307L, oledDisplay);  // skew timer interval to stop i2c issues
}




void loop(){
  Blynk.run();
  timer.run();
  //call function if Blynk is disabled
  //oledDisplay();
  //delay(1000);
  }


error comes: ‘Blynk does not name a type’

A post was merged into an existing topic: Interface multiple sensors with Blynk in I2c bus