Gast
#4097627
Hallo nochmal, habe im Moment nicht die Möglichkeit direkt mit Hardware zu experimentieren. Daher die Frage: Ist das hier eine richtige Initialisierung für zwei Timer? ;Timer1 ldi temp1, high( 39999 ) out OCR1AH, temp1 ldi temp1, low( 39999 ) out OCR1AL, temp1 ldi temp1, ( 1 << WGM12 ) | ( 1 << CS10 ) out TCCR1B, temp1 ;Timer0 ldi temp1, 1<<CS02 | 1<<CS00 ;Vorteiler 1024 out TCCR0, temp1 ldi temp1, 1<<OCIE1A | 1<<TOIE0; beide Timer aktivieren out TIMSK, temp1 sei Peter