??? 04/04/06 09:36 Read: times |
#113596 - LCD repeat function in C |
I'm designing a number display system on lcd using keil c. the keyscan, debounce and display is fine.
I wonder how to program the repeat function. in the current state one press on the up key increments the displayed number up once, I need to implement a repeat function that as long as key is pressed the number keeps incrementing up or down, the longer the key is held pressed the faster the number update. Any ideas how to implement this? The closest thing to this I found on the forum is Mr Karas's excellent post http://www.8052.com/forum/read.phtml?id=67926 but it looks too complicated for it has so many functions I don't need and it didn't explain it in details. Mahmood |
Topic | Author | Date |
LCD repeat function in C | 01/01/70 00:00 | |
First thought | 01/01/70 00:00 | |
if its roundrobin | 01/01/70 00:00 | |
last post | 01/01/70 00:00 | |
Sounds fine | 01/01/70 00:00 | |
the one issue | 01/01/70 00:00 | |
stuck key | 01/01/70 00:00 | |
Yes | 01/01/70 00:00 | |
Code Review | 01/01/70 00:00 | |
this must be excellent switches | 01/01/70 00:00 | |
excellent debounce for bad switches![]() | 01/01/70 00:00 | |
better code version | 01/01/70 00:00 | |
no comments, captals, no indenting | 01/01/70 00:00 | |
It could do with some improvement! | 01/01/70 00:00 | |
I did not comment on that, it may very w | 01/01/70 00:00 | |
true.... | 01/01/70 00:00 | |
led to so much misinformation in this fo | 01/01/70 00:00 |