??? 12/06/09 16:41 Modified: 12/06/09 16:43 Read: times |
#171486 - one key, multiple jobs assigned to it |
Hello members,
I am designing a keypad. In this keypad i have one key called 'MODE'. Now this key has a special function. if the key is pressed one time, the operator uses the 'UP' or 'DOWN' keys to change one value A. if the key is pressed is 2 times then a different value B is changed by pressing 'UP' or 'DOWN' keys. Similarly if the key is pressed is 3 times then another value C is changed by pressing 'UP' or 'DOWN' keys. I donot have any timer interrupts left. only my Ext-Intr-0. Using 89C52 at 11.0592Mhz I am trying to design a function using my pen and paper for the last 3 hours but no luck. can anyone tell my any sample code as i was not able to search one myself. |
Topic | Author | Date |
one key, multiple jobs assigned to it | 01/01/70 00:00 | |
Step by step | 01/01/70 00:00 | |
What methods do you have for keeping track of time now? | 01/01/70 00:00 | |
Timing in Siemens ;)? | 01/01/70 00:00 | |
RC circuit | 01/01/70 00:00 | |
Yep, touché!... | 01/01/70 00:00 | |
Another idea... | 01/01/70 00:00 | |
State machine | 01/01/70 00:00 | |
State Transition Diagram | 01/01/70 00:00 | |
Timers can help!! | 01/01/70 00:00 | |
In theory, zero timers are needed | 01/01/70 00:00 | |
"I do not have any timer interrupts left." | 01/01/70 00:00 | |
Software timers | 01/01/70 00:00 | |
To check debounce | 01/01/70 00:00 | |
what happens when![]() | 01/01/70 00:00 |