Mr RB
Well-Known Member
Hi people, I need to use a single button for setting the time on a clock. Ideally it should not require any display features like making something flash etc.
It doesn't need to be super precise, so just setting seconds to zero when minutes are changed is ok, that allows the clock to be set within a couple of seconds without needing actual "seconds adjust" facility.
Here's what I got so far;
1; quick presses; inc minutes (when button is released), secs are reset
holding button down; inc hours, once per second, (nothing when released)
possible problem is that it can need up to 60 presses to set the minutes...
2. holding button; inc minutes, then inc faster after couple seconds
quick presses; inc hours
that might be a better way (faster to set minutes) but may not be as instinctive for the user.
Or maybe someone has their own method, or knows a "standard" commercial way of doing this?
It doesn't need to be super precise, so just setting seconds to zero when minutes are changed is ok, that allows the clock to be set within a couple of seconds without needing actual "seconds adjust" facility.
Here's what I got so far;
1; quick presses; inc minutes (when button is released), secs are reset
holding button down; inc hours, once per second, (nothing when released)
possible problem is that it can need up to 60 presses to set the minutes...
2. holding button; inc minutes, then inc faster after couple seconds
quick presses; inc hours
that might be a better way (faster to set minutes) but may not be as instinctive for the user.
Or maybe someone has their own method, or knows a "standard" commercial way of doing this?