45#define USART_HAS_DATA bit_is_set(UCSR0A, RXC0)
46#define USART_READY bit_is_set(UCSR0A, UDRE0)
66void read_string(
char myString[], uint8_t maxLength);
void init_usart(void)
Takes the defined BAUD and F_CPU, calculates the bit-clock multiplier, configures the hardware USART ...
void print_word(uint16_t word)
Prints a word (16-bits) out as its 5-digit ascii equivalent.
void print_string(const char myString[])
Utility function to transmit an entire string from RAM.
uint8_t get_number(void)
Takes in up to three ascii digits, converts them to a byte when press enter.
void print_binary_byte(uint8_t byte)
Prints a byte out in 1s and 0s.
char nibble_to_hex_character(uint8_t nibble)
Convert nibble to hex character.
void read_string(char myString[], uint8_t maxLength)
Define a string variable, pass it to this function.
char nibble_to_hex(uint8_t nibble)
Convert nibble to hex.
void print_hex_byte(uint8_t byte)
Prints a byte out in hexadecimal.
void print_byte(uint8_t byte)
Prints a byte out as its 3-digit ascii equivalent.