#include #include #include #include #include #include "main.h" void init_pwm(void){ // TCCR1A xx01xx10 TCCR1A &= ~0b00100001; TCCR1A |= 0b00000010; // TCCR1B xxx11001 TCCR1B &= ~0b00000110; TCCR1B |= 0b00011001; //PB1 set to output: DDRB |= 0b10; } int main (void) { //enable LED channels as output DDRC |= (1<