#ifndef __MAIN_H #define __MAIN_H #include #include #include #include "twim.h" #ifndef F_CPU #define F_CPU 8000000UL #endif /* Timers */ // T0 period 4 ms == 0x100 - (8000000 / 256 * 0.004) #define TIM0_PRESCALER 1<