#include #include #include #include #include #include "GeneralSettings.h" #include "uart.h" // ############################################### // UART COMMUNICATION // general definition setting uart_ready_flag = FALSE; // UART initialization void init_uart() { // USART Initialization // USCSRB Register cli(); //that is needed essentially (turn of interrupts shortly) UCSRB = (0< decimal system write_string(k); // send the byte } extern void write_var_ln(int16_t num) { char k[7]; // define a byte itoa(num, k, 10); // convert integer to asci -> decimal system write_string(k); // send the byte write_string("\r\n"); } // END UART // ###########################################################