Mal von vorne, welche Frequenz möchtest du? Welche Art von PWM?...?
Code:TCCR0A = (1<<COM0A1) | (1<<WGM01) | (1<<WGM00); TCNT0 = 0; OCR0A = 128; //50% TCCR0B = (1<<CS02);
Mal von vorne, welche Frequenz möchtest du? Welche Art von PWM?...?
Code:TCCR0A = (1<<COM0A1) | (1<<WGM01) | (1<<WGM00); TCNT0 = 0; OCR0A = 128; //50% TCCR0B = (1<<CS02);
Lesezeichen