usart functions moved to separate file
uint8_t instead of unsigned char
declarations before main