GSOE Webserver ESP01 DHT11
Dependencies: LCD_i2c_GSOE ESP8266WebserverGSOE
Diff: main.cpp
- Revision:
- 6:410b258da1a4
- Parent:
- 3:9fac8ba757be
diff -r c390b6da4538 -r 410b258da1a4 main.cpp --- a/main.cpp Tue Jul 27 09:39:37 2021 +0000 +++ b/main.cpp Mon Aug 09 10:09:32 2021 +0000 @@ -1,4 +1,5 @@ +//based on DHT11 Library of Jeng: https://os.mbed.com/users/JENG/code/Nucleo_dht11/ #include "mbed.h" #include "LCD.h" #include "ESP8266Webserver.h" @@ -11,7 +12,7 @@ Timer tmr; lcd mylcd; -DigitalInOut data_pin(PC_15); //Anschluss S +DigitalInOut data_pin(PB_0); //Anschluss S (Data) //Anschluss - an GND //mittlerer Anschluss an 3,3V