#include #include #include #include #include #include "main.h" static inline void init_pwm(void) { //PB1 set to output: DDRB |= 0b10; OCR1B = 0xefff; //preselect some default ICR1 = 0xffff; // TOP-wert TCCR1A = (1<