[Frubar Paste] Hosted by SkyLime - Chat with us at XChannel IRC

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

    
11
#include <avr/io.h>
2-
#include <avr/interrupt.h>
2+
#include <avr/interrupt.h> // Interrupts einbinden
44
//Interupts aktivieren
55
sei();
77
// ISR - Interrupt Service Routine Beispiel
88
SIGNAL (SIG_OUTPUT_COMPARE1A)
99
{
1010
   // ISR-Code
1111
   // Möglichst kurz halten!
1212
}
1313
while(1){ }; // Main Loop