Compare commits
3
Commits
34e3063819
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a8fecf68c | ||
|
|
9fce988d6b | ||
|
|
60e7bce631 |
+7
-5
@@ -11,7 +11,7 @@
|
|||||||
#define LCD_ROWS 2
|
#define LCD_ROWS 2
|
||||||
#define LCD_ADDRESS 0x27
|
#define LCD_ADDRESS 0x27
|
||||||
|
|
||||||
#define RELAY_PIN D7
|
#define RELAY_PIN D3
|
||||||
#define TEMP_SENSOR_PIN D5
|
#define TEMP_SENSOR_PIN D5
|
||||||
// network
|
// network
|
||||||
// After how much time without connection we will
|
// After how much time without connection we will
|
||||||
@@ -172,11 +172,13 @@ void loop()
|
|||||||
lcd.print(" (");
|
lcd.print(" (");
|
||||||
lcd.print(t_target / 100);
|
lcd.print(t_target / 100);
|
||||||
lcd.print(") ");
|
lcd.print(") ");
|
||||||
if (mode == MODE_ON) lcd.print("ON");
|
|
||||||
else lcd.print("OFF");
|
|
||||||
lcd.setCursor(0, 1);
|
lcd.setCursor(0, 1);
|
||||||
lcd.print("S: ");
|
if (mode == MODE_ON)
|
||||||
lcd.print(cur_state);
|
{
|
||||||
|
if (cur_state == 1) lcd.print("HEAT");
|
||||||
|
else lcd.print("IDLE");
|
||||||
|
}
|
||||||
|
else lcd.print("OFF");
|
||||||
lcd.print(" WiFi: ");
|
lcd.print(" WiFi: ");
|
||||||
lcd.print(WiFi.status());
|
lcd.print(WiFi.status());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user