We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d7e971 commit f1bf7a4Copy full SHA for f1bf7a4
1602_keypad_shield.ino
@@ -196,7 +196,7 @@ void requested_temperature(int lcd_key) {
196
197
void mode(int lcd_key) {
198
199
- //system_mode
+ //sysem_mode
200
201
lcd.print("Mode: ");
202
@@ -226,10 +226,12 @@ void mode(int lcd_key) {
226
227
void fan(int lcd_key) {
228
229
- //fan_mode
+ //example fan_mode value from eeprom
230
+ //fan_mode = 1
231
232
lcd.print("Fan: ");
233
234
+ // press_count used for cycling through values below
235
press_count++;
236
lcd.setCursor(5,0);
237
switch (press_count % 2) {
@@ -238,7 +240,7 @@ void fan(int lcd_key) {
238
240
fan_mode = 0;
239
241
break;
242
case 1:
- lcd.print("On ");
243
+ lcd.print("On ");
244
fan_mode = 1;
245
246
}
0 commit comments