??? 10/19/05 06:13 Read: times |
#102604 - Hope this would help u......... Responding to: ???'s previous message |
Ruben Dario Porras Sanche said:
i've been using the int0 for adding a value to a var, i'm using a switch for call the int0.
if i've press the switch seems like the interrupt is executing too many times. I think u didnt concentrate on Key de-bounce U need to compensate on the bounce which happens when u press the key for an interrupt to occur. this should be compensated(called debounce) when u develop the code. U have to impose a suitable delay between the key press and the START your required operation. (or) If ur application suits u can clear the interrupt enable bit of int0 using the ISR of int0. |
Topic | Author | Date |
Int 0 | 01/01/70 00:00 | |
int 0 | 01/01/70 00:00 | |
thanks | 01/01/70 00:00 | |
points | 01/01/70 00:00 | |
Hope this would help u......... | 01/01/70 00:00 | |
Key debounce | 01/01/70 00:00 | |
I do not see "micro" asking for help, yo | 01/01/70 00:00 | |
.u didnt...U have...If ur...suits | 01/01/70 00:00 | |
sorry for the inconvenience caused by me![]() | 01/01/70 00:00 | |
the mistake is using int 0 | 01/01/70 00:00 |