48#define USART_HAS_DATA bit_is_set(UCSR0A, RXC0)
49#define USART_READY bit_is_set(UCSR0A, UDRE0)
void usart_print_decimal_digit(uint8_t byte)
Prints a byte out as its 1-digit ascii equivalent.
void usart_print_byte(uint8_t byte)
Prints a byte out as its 3-digit ascii equivalent.
void usart_print_string(const char my_string[])
Utility function to transmit a string.
void usart_print_binary_byte(uint8_t byte)
Prints a byte out in 1s and 0s.
void usart_print_word(uint16_t word)
Prints a word (16-bits) out as its 5-digit ascii equivalent.
void usart_read_string(char my_string[], uint8_t max_length)
Define a string variable, pass it to this function.
char usart_nibble_to_hex_character(uint8_t nibble)
Convert a nibble to a hex character.
uint8_t usart_get_number(void)
Takes in up to three ascii digits, converts them to a byte when press enter.
void usart_print_char(char byte)
Prints a byte out as its 1-character ascii equivalent.
void init_usart(void)
Takes the defined BAUD and F_CPU, calculates the bit-clock multiplier, configures the hardware USART ...
void usart_print_hex_byte(uint8_t byte)
Prints a byte out in hexadecimal format.