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