Ich erwarte ein Signal an PB3, das nach 50% hi->lo wird... Messe aber konstant high - was mache ich falsch?
1 | DDRB = (1<<PB3); |
2 | TCCR2A = (1<<COM2A1) | (1<<WGM21) | (1<<WGM20); |
3 | TCCR2B = (1<<WGM22) | (1<<CS20); |
4 | OCR2A = 127; |
5 | while(1) |
6 | {
|
7 | //..
|
8 | }
|
Das Toggeln des Pins per Software funktioniert.