Try
DEC2
That should show the leading zero.
Try
DEC2
That should show the leading zero.
Dave
Always wear safety glasses while programming.
Hi Dave,
I tried that, both DEC1 and DEC2, but it worked bacwards, in that it didn't display the 'tens' digits, just the 'units', unless I was using the command incorrectly ?
Code:LCDOut $FE,$D4,#starthours DIG 1,#starthours DIG 0,":",#startmin DIG 1,#startmin DIG 0
Bruce, I'll give that a go when I get home.
I hadn't tried that as I thought that when the value was less than 10 I might get strange readings as there wold only be one DIGIT ?
More reading of the manual I figure![]()
Hi Malcom,
It definitely works. It will display time like you want with 09:03, 08:06, 13:34, etc.
Rewind a week and check the comment I posted when you last mentioned the above on the DS1307 thread...
Bookmarks