Functions | |
void | begin (uint16_t baud) |
void | write (uint8_t data) |
uint8_t | available () |
uint8_t | read () |
The panel has 2 UART Registers connected to the ATmega128A.
uint8_t uart0::available | ( | ) |
Checks if UART has available data to read.
void uart0::begin | ( | uint16_t | baud | ) |
Starts UART communication, and enables two way commonication.
baud | baud rate |
uint8_t uart0::read | ( | ) |
Reads a byte from UART.
void uart0::write | ( | uint8_t | data | ) |
Writes a byte to UART.
data | Byte to write |