24 hour clock issue
Posted: Mon Apr 06, 2009 7:01 am
morning all,
having a few issues which im hoping i could get some assistance with.
ive managed to get the clock to display on a LCD display, however i notice that when the timer cycles through the second digit remains at "9" and does not clear and i cant get the units to display as "09" etc (for example, the time shown is 1:19:19, but it should be 1:1:1)
my question is how can i get the timing units to display in double units ie 01:01:01 and would this resolve the issue im having?
in addition to this i am having a few difficulties creating the necessary inputs to allow the time to be changed. i am wanting to have A0 as the config button (ie 1 pressed, hours can be set, 2 presses, minutes can be set etc) with A1 and A2 being used to set the times up and down.
hope the above makes sense and someone can help as programming isnt my strong point!
cheers
ian
having a few issues which im hoping i could get some assistance with.
ive managed to get the clock to display on a LCD display, however i notice that when the timer cycles through the second digit remains at "9" and does not clear and i cant get the units to display as "09" etc (for example, the time shown is 1:19:19, but it should be 1:1:1)
my question is how can i get the timing units to display in double units ie 01:01:01 and would this resolve the issue im having?
in addition to this i am having a few difficulties creating the necessary inputs to allow the time to be changed. i am wanting to have A0 as the config button (ie 1 pressed, hours can be set, 2 presses, minutes can be set etc) with A1 and A2 being used to set the times up and down.
hope the above makes sense and someone can help as programming isnt my strong point!
cheers
ian