I thought it was time to upgrade my old display unit (it was built years back...):
to a newer model:
It even has built-in sound...
Maybe turn in into an alarm-clock?
I also think that the newer model would be better accepted in the living-room. Much better WAF

This demo took a few simple rule lines:
Code: Select all
on M5Display=1 do
m5lcdcmd clear
m5lcdcmd color,CYAN
m5lcd 20,70,2,%systm_hm%
m5lcdcmd color,GREEN
m5lcd 0,140,1,In
m5lcdcmd color,YELLOW
m5lcd 90,140,2,[var#1#D2.1]
m5lcdcmd color,GREEN
m5lcd 0,210,1,Out
m5lcdcmd color,YELLOW
m5lcd 90,210,2,[var#2#D2.1]
endon
1 - Looking for HH:MM format to display. %systime% has seconds which i do not want and %systm_tm% has no leading '0' if <10 hours.
2 - I would like the temperature to show a fixed number of digits with a leading ' ' (space) instead of a leading '0' for temp <10 degrees
Also searching the forum on M5Stack surprisingly did not result in many hits (only some old ones from 2018). No one using this device lately?