|
fremoclock
1_3A01
FREMO Clock - Software for UTG
|
Minimal uart library with output only for debugging. More...
Go to the source code of this file.
Macros | |
| #define | LOG_P(FMT, ...) printf_P(PSTR(FMT), ## __VA_ARGS__) |
| Printf like macro to log to uart. More... | |
| #define | LOG(FMT, ...) printf(FMT, ## __VA_ARGS__) |
| Printf like macro to log to uart. More... | |
Functions | |
| void | log_init (void) |
| Call once in start of main to initialize logging to uart with LOG() and LOG_P() macros. More... | |
Minimal uart library with output only for debugging.
Hardware: ATmega8/48/88/168/328P.
Definition in file uart.h.
| #define LOG | ( | FMT, | |
| ... | |||
| ) | printf(FMT, ## __VA_ARGS__) |
| #define LOG_P | ( | FMT, | |
| ... | |||
| ) | printf_P(PSTR(FMT), ## __VA_ARGS__) |