I've got this bug, what's wrong.

I’ve got this bug, what’s wrong.
It’s a Wemos D1 Mini with a DHT 11 and an app in Blynk.

Arduino: 1.8.12 (Windows 10), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

In file included from C:\Users\Henrik\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkApi.h:17:0,

                 from C:\Users\Henrik\Documents\Arduino\libraries\Blynk\src/BlynkApiArduino.h:14,

                 from C:\Users\Henrik\Documents\Arduino\libraries\Blynk\src/BlynkSimpleEsp8266.h:24,

                 from F:\Wemos D1 mini\test_2_DHT11\test_2_DHT11.ino:3:

C:\Users\Henrik\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkTimer.h:36:21: error: redefinition of 'class BlynkTimer'

 #define SimpleTimer BlynkTimer


C:\Users\Henrik\Documents\Arduino\libraries\SimpleTimer/SimpleTimer.h:10:7: note: in expansion of macro 'SimpleTimer'

 class SimpleTimer {


C:\Users\Henrik\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkTimer.h:36:21: error: previous definition of 'class BlynkTimer'

 #define SimpleTimer BlynkTimer


C:\Users\Henrik\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkTimer.h:41:7: note: in expansion of macro 'SimpleTimer'

 class SimpleTimer {


exit status 1
Error compiling for board LOLIN(WEMOS) D1 R2 & mini.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

and the code is

#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include "DHT.h"
#include <SimpleTimer.h> 
#define DHTTYPE DHT11
#define dht_dpin D4
DHT dht(dht_dpin, DHTTYPE); 
SimpleTimer timer;
char auth[] = "8l5xDY2-oHQfxSYBr2T_aar9fJGNI8q6";
char ssid[] = "lillenet 2,4 GHz";
char pass[] = "xtqzzhenrikmie";
float t;
float h;

void setup()
    Blynk.begin(auth, ssid, pass);
    timer.setInterval(2000, sendUptime);

void loop()

void sendUptime()
  float h = dht.readHumidity();
  float t = dht.readTemperature(); 
  Serial.println("Humidity and temperature\n\n");
  Serial.print("Current humidity = ");
  Serial.print("%  ");
  Serial.print("temperature = ");
  Blynk.virtualWrite(V0, t);
  Blynk.virtualWrite(V1, h); 


It seems that the Blynk and SimpleTimer libraries are conflicting with eachother. Also, this is not a "project guidance" issue.

ok Thans