??? 09/25/04 16:31 Read: times |
#78136 - Why Interrupts? Responding to: ???'s previous message |
If I understand correctly, you just want the switch to control whether the LEDs blink or not:
Switch is ON - LEDs are blinking; Switch is OFF - LEDs stay off. IS that right? If so, you don't actually need to use interrupts at all - you just look at the state of the inupt pin, and use that to decide whether to blink or not. In fact, this is somewhat preferable as you have no chance of getting out of sync if you should miss an interrupt. For simple LED flashing, you probably wouldn't even need debouncing... |
Topic | Author | Date |
help c51 ext. interrupts with hardware | 01/01/70 00:00 | |
RE: help c51 ext. interrupts with hardware | 01/01/70 00:00 | |
Recommendation | 01/01/70 00:00 | |
Please specify! | 01/01/70 00:00 | |
Further details | 01/01/70 00:00 | |
Why Interrupts? | 01/01/70 00:00 | |
RE: Why Interrupts?![]() | 01/01/70 00:00 | |
RE: help c51 ext. interrupts with hardware | 01/01/70 00:00 |