#include // for the input/output register #include #include #include #include #include #define PRESCALER 1024 #define TIME_SLOT 20 #define BAUDRATE 103 #define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit)) #define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit)) char Donnee[24]; float temp; void init_serial(void) { /* ACHTUNG : we suppose UBRR value < 0xff */ /* Not true in all case */ uint8_t baudrate = BAUDRATE; /* Set baud rate */ UBRR0H = 0; UBRR0L = baudrate; /* Enable transmitter *///task_led_red(); //task_send_serial('A'); UCSR0B = (1<