File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 19
19
*/
20
20
21
21
// version and sources location
22
- #define FW_VERSION " 2.0.0.c23 "
22
+ #define FW_VERSION " 2.0.0.c24 "
23
23
#define REPOSITORY " https://github.com/luc-github/ESP3D"
24
24
25
25
// Customize ESP3D ////////////////////////////////////////////////////////////////////////
111
111
#endif
112
112
113
113
#ifdef DHT_FEATURE
114
- #define ESP_DHT_PIN 2
114
+ #define ESP_DHT_PIN 15
115
115
#endif
116
116
117
117
// Pins where the screen is connected
Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ void Esp3D::process()
292
292
last_dht_update = now_dht;
293
293
float humidity = dht.getHumidity ();
294
294
float temperature = dht.getTemperature ();
295
- if (dht.getStatusString () == " OK " ) {
295
+ if (strcmp ( dht.getStatusString (), " OK " ) == 0 ) {
296
296
String s = String (temperature,2 );
297
297
String s2 = s + " " +String (humidity,2 );
298
298
#if defined (ASYNCWEBSERVER)
You can’t perform that action at this time.
0 commit comments