was habe iich hier falsch gemacht?Code:#include <avr/io.h> #include <avr/signal.h> #include <avr/interrupt.h> SIGNAL (SIG_OUTPUT_COMPARE1B) { PORTB ^= 0xFF; } int main (void) { TIMSK |= 0b00001000; TCCR1B|= 0b00001010; DDRB = 0xFF; OCR1B = 303; sei(); while(1) { } return 0; }
Lesezeichen