??? 10/10/05 10:35 Read: times |
#102155 - Why using an interrupt? Responding to: ???'s previous message |
Suresh said:
i am using p3.2 of AT89c51 to receive a falling edge signal using a push button switch.Hence an interrupt0 edge flag is set in IE0. Is there really a need to use an interrupt routine to serve the push button? Is your main program loop so long lasting that a periodically reading of P3.2 (polling) does not do the job? Kai |
Topic | Author | Date |
Doubts regarding AT89C51 Port Usage | 01/01/70 00:00 | |
Answers | 01/01/70 00:00 | |
your suggestions were useful | 01/01/70 00:00 | |
Central ground star point | 01/01/70 00:00 | |
doubts | 01/01/70 00:00 | |
Why using an interrupt? | 01/01/70 00:00 | |
use an interrupt for debounce, not key | 01/01/70 00:00 | |
This is what iam going on with | 01/01/70 00:00 | |
Why even consider sleep mode for a machi | 01/01/70 00:00 | |
can RC network eleminate bounce | 01/01/70 00:00 | |
nope, you will be hanging at the noise m | 01/01/70 00:00 | |
Debounce | 01/01/70 00:00 | |
Possible, but... | 01/01/70 00:00 | |
What else does your program? | 01/01/70 00:00 | |
outside of 50 sec slot | 01/01/70 00:00 | |
do I get it right | 01/01/70 00:00 | |
yes | 01/01/70 00:00 | |
ttthhattsss all fffolks | 01/01/70 00:00 | |
here is my code | 01/01/70 00:00 | |
I did not ask that | 01/01/70 00:00 | |
Avoid my previous post "here is my code"![]() | 01/01/70 00:00 |