??? 06/23/06 13:03 Read: times |
#118945 - Debounce scheme cannot be identified Responding to: ???'s previous message |
Arvind, from the code lines we cannot see (at least me) what scheme you use to provide the key debouncing. Your code jumps here and there and after a few of these jumps the confusion is perfect.
First, try to explain, how you debounce the keys. Take care, your code which looks totally confusing to me is only to read switches and turn-on LEDs. But what if your code shall do much more? Then, not anyone will ever have a glue, what's going on. Try to write little modules, which can easily be understood, like Peter suggested it. Kai |