fixes in the demo screen
This commit is contained in:
@@ -66,12 +66,12 @@ static void Root_paint(struct Scene *scene)
|
|||||||
|
|
||||||
LCD_setStrEx(header, 0, 3, 1, 3);
|
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];
|
char buf[10];
|
||||||
// sprintf(buf, "%3d", priv->pos);
|
// sprintf(buf, "%3d", priv->pos);
|
||||||
// LCD_setStr(buf, 2, 15, 0);
|
// LCD_setStr(buf, 2, 15, 0);
|
||||||
sprintf(buf, "🌡%.0f°C", analog_read());
|
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_setStr("×↑↓←→⏰⌛☸⏎🌡°🔙▶◀", 2, 33, 1);
|
||||||
LCD_updateDisplay();
|
LCD_updateDisplay();
|
||||||
|
|||||||
Reference in New Issue
Block a user