BLYNK
BLYNK.IO       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Compiling error for esp32

hi i got this error i dont know what went wrong, i installed blynk from the ide and i have already installed my esp32 board

In file included from C:\Users\Dell\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkApi.h:37:0,
from C:\Users\Dell\Documents\Arduino\libraries\Blynk\src/BlynkApiArduino.h:14,
from C:\Users\Dell\Documents\Arduino\libraries\Blynk\src/BlynkSimpleEsp32.h:20,
from C:\Users\Dell\Documents\Arduino\sketch_jun04a\sketch_jun04a.ino:23:
C:\Users\Dell\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkTimer.h:36:21: error: redefinition of ‘class BlynkTimer’
#define SimpleTimer BlynkTimer
^
C:\Users\Dell\Documents\Arduino\libraries\SimpleTimer/SimpleTimer.h:10:7: note: in expansion of macro ‘SimpleTimer’
class SimpleTimer {
^
C:\Users\Dell\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkTimer.h:36:21: error: previous definition of ‘class BlynkTimer’
#define SimpleTimer BlynkTimer
^
C:\Users\Dell\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkTimer.h:41:7: note: in expansion of macro ‘SimpleTimer’
class SimpleTimer {
^
Multiple libraries were found for “WiFi.h”
Used: C:\Users\Dell\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WiFi
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
exit status 1
Error compiling for board ESP32 Dev Module.

this is the first few lines of my code

#include <Ticker.h>
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
#include <PxMatrix.h>
#include <SimpleTimer.h>

char auth[] = "";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "testetsetst";
char pass[] = "testtesttest";

void setup() {

  Serial.begin(115200);

  Blynk.begin(auth, ssid, pass);

delete one of the library by going to the directory

If you’re actually using the timer then switch to BlynkTimer instead of SimpleTimer.

Pete.