Hallo
Die Int wird laut AVR Studio sehr wohl aufgerufen.
Habe das Programm gerade auf Hardware getestet. Bei 8 MHz Takt, kann
man das blinken deutlich erkennen.
Code:#include <inttypes.h> // Allgemeine Bibliotheken #include <avr/io.h> #include <avr/interrupt.h> #include <avr/signal.h> #include <stdint.h> SIGNAL(SIG_OVERFLOW0) { PORTB=~PORTB; } int main (void) { DDRB=0xFF; PORTB=0x00; TCCR0=(5<<CS00); TCNT0=0x00; TIMSK=(1<<TOIE0); sei(); for(;;){} }
MFG
Dieter
Lesezeichen