??? 09/11/08 10:08 Read: times |
#158181 - Broken code Responding to: ???'s previous message |
1) The code is hard to read. Very strange indents among other things.
2) You scan rows and columns independently. You have to handle them at the same time. When you switch from row to column scanning, the key may have been released, resulting in row and column data not belonging together. 3) You claim that you debounce. Not so! 4) What happens if multiple keys gets pressed? |
Topic | Author | Date |
HELP:regular monitoring of inputs 8051 | 01/01/70 00:00 | |
Use a timer ? | 01/01/70 00:00 | |
Explain | 01/01/70 00:00 | |
NOT WORKING | 01/01/70 00:00 | |
instant doesn't exist | 01/01/70 00:00 | |
Make your mind up! | 01/01/70 00:00 | |
bounce | 01/01/70 00:00 | |
Sounds strange ... | 01/01/70 00:00 | |
sampling | 01/01/70 00:00 | |
Please post legible source code | 01/01/70 00:00 | |
What debounce? | 01/01/70 00:00 | |
code | 01/01/70 00:00 | |
Did you check the preview? | 01/01/70 00:00 | |
Broken code | 01/01/70 00:00 | |
indentation | 01/01/70 00:00 | |
Simulation | 01/01/70 00:00 | |
Regular | 01/01/70 00:00 | |
Why not reading from main loop? | 01/01/70 00:00 | |
PLEASE HELP | 01/01/70 00:00 | |
have a look at Rate This Post | 01/01/70 00:00 | |
Study the state machine tutorial... | 01/01/70 00:00 | |
Is it here?![]() | 01/01/70 00:00 |