??? 09/11/08 09:02 Modified: 09/11/08 09:32 Read: times |
#158175 - Sounds strange ... Responding to: ???'s previous message |
Priyam Khanna said:
basically ,somehow the problem remains getting the desired output for every change in inputs.the outputs are erratic and random,correct outputs only 3,4,5 out of 10 times.
Do you mean that you are getting a different result from a keypress than you expect (instead of just no reaction to the keypress)? That sounds like the problem lies somewhere else instead of the polling algorithm. And, for the sake of completeness, what strategy are you using right now? Are you sampling the input pins the main loop or in a timer ISR? How often are you sampling them? How do you try to deal with contact bounce? |
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 |