Difference between:
Modified post 11856 by Anonymous on Mon 8th Feb 01:49
Original post 11855 by Anonymous on Mon 8th Feb 01:48
Show old version | new version | both versions
| 1 | 1 | #include <avr/io.h> | |
| 2 | - | #include <avr/interrupt.h> | |
| 2 | + | #include <avr/interrupt.h> // Interrupts einbinden | |
| 4 | 4 | //Interupts aktivieren | |
| 5 | 5 | sei(); | |
| 7 | 7 | // ISR - Interrupt Service Routine Beispiel | |
| 8 | 8 | SIGNAL (SIG_OUTPUT_COMPARE1A) | |
| 9 | 9 | { | |
| 10 | 10 | // ISR-Code | |
| 11 | 11 | // Möglichst kurz halten! | |
| 12 | 12 | } | |
| 13 | 13 | while(1){ }; // Main Loop |