55 void operator()(
const uint8_t* arr,
const uint8_t len)
const;
84 void sendStr(
const char* str)
const;
Logger()=default
Construct a new Logger object.
void sendStr(const char *str) const
Transmit a string over USART.
void init()
Initialize USART.
void operator()(const char *str) const
Functor to log a string.
Definition: logger.h:48
static constexpr uint16_t UBRR0_VALUE
UBRR0 value for initializing USART.
Definition: logger.h:66
void sendChar(const char c) const
Transmit a single character over USART.
Logger class that outputs logs over USART.
Definition: logger.h:26