fixes in the demo screen

master
Ondřej Hruška 4 years ago
parent 12f9d2ec2c
commit bdb344752f
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 4
      main/liquid/scene_root.c

@ -66,12 +66,12 @@ static void Root_paint(struct Scene *scene)
LCD_setStrEx(header, 0, 3, 1, 3);
LCD_setRect(0, 12, 83, 33, 1, 1);
LCD_setRect(0, 12, 83, 31, 1, 1);
char buf[10];
// sprintf(buf, "%3d", priv->pos);
// LCD_setStr(buf, 2, 15, 0);
sprintf(buf, "🌡%.0f°C", analog_read());
LCD_setStrEx(buf, 2, 15, 0, 2);
LCD_setStrEx(buf, 2, 14, 0, 2);
LCD_setStr("×↑↓←→⏰⌛☸⏎🌡°🔙▶◀", 2, 33, 1);
LCD_updateDisplay();

Loading…
Cancel
Save