thanks for the help
here are my code for day
symbol mon = 0
symbol tue = 1
symbol wed = 2
symbol thu = 3
symbol fri = 4
symbol sat = 5
symbol sun = 6
hour var byte
day var byte
day = 0 ' initial day at mon when program run
if hour > 24 then
day = day + 1
endif
if day > 7 then
day = 0
endif
lcdout $fe,$c0, dec3 day
*the display only show 000, not mon.
how i write the code to display date:month:year
Bookmarks