#include #include #include //INPUT PINS digital 2-7 PIND //INPUT PINS digitat 8-12 PINB //INPUT PINS analog 0-4 PINC #define RF433_PIN 10 //********************************************************************// typedef unsigned char byte; //********************************************************************// void start_timer() { // timer 1: 2 ms TCCR1A = 0; // prescaler 1:8, WGM = 4 (CTC) TCCR1B = 1< 0.08ms @ 16 MHz -> 1*alpha // OCR1A = 207; // (1+207)*8 = 1664 -> 0.104ms @ 16 MHz -> 1*alpha TCNT1 = 0; // reseting timer TIMSK1 = 1<