??? 12/12/10 20:56 Read: times |
#180104 - big task Responding to: ???'s previous message |
Forget about routines ,called from interrupt. In Your case Mode1,2 and 3 are even not routines - they are (will be ) massive fragments of code .
Interrupts should- - One Timer - detect key(s) pressing, make debouncing , change notes of melody(if melody is active) - Second Timer (with higher priority) - play current frequency regards |
Topic | Author | Date |
Using Interrupts to call functions | 01/01/70 00:00 | |
what is Your target? | 01/01/70 00:00 | |
Responding to: Stefan Kanev's previous message | 01/01/70 00:00 | |
big task | 01/01/70 00:00 | |
The next question | 01/01/70 00:00 | |
flags, semaphors and so on | 01/01/70 00:00 | |
Endless loops | 01/01/70 00:00 | |
main | 01/01/70 00:00 |