43#error "This config.h has the former layout, with #include lines and derived values. config.h now only holds the settings: create it again with the configurator, or see 'config.h holds the settings only' in the CHANGELOG to update it by hand."
56template<
typename... Args >
57__attribute__((always_inline))
inline void info(
const Args&... args)
60 Serial.print(args...);
66template<
typename... Args >
67__attribute__((always_inline))
inline void infoln(
const Args&... args)
70 Serial.println(args...);
79__attribute__((noinline))
inline void info(
const __FlashStringHelper* text)
88__attribute__((noinline))
inline void infoln(
const __FlashStringHelper* text)
112 infolnDecimals(
static_cast< int32_t
>(pgm_read_dword(value)), decimals);
118template<
typename... Args >
119__attribute__((always_inline))
inline void status(
const Args&... args)
130template<
typename... Args >
131__attribute__((always_inline))
inline void statusln(
const Args&... args)
142template<
typename... Args >
143__attribute__((always_inline))
inline void debug(
const Args&... args)
154template<
typename... Args >
155__attribute__((always_inline))
inline void debugln(
const Args&... args)
Router configuration: loads, relays, control pins and features.
constexpr SerialOutputType SERIAL_OUTPUT_TYPE
constexpr bool ENABLE_DEBUG
void infoln(const Args &... args)
Print an informational message and a line end, as Serial.println() does.
void infolnDecimals_P(const int32_t *value, const uint8_t decimals)
Same as infolnDecimals(), with the value read from PROGMEM.
void statusln(const Args &... args)
Print a status message and a line end, as Serial.println() does (human-readable output only).
constexpr bool STATUS_OUTPUT_ENABLED
Whether the status changes are printed while running: in human-readable output only.
void debugln(const Args &... args)
Print a debug message and a line end, as Serial.println() does (only with ENABLE_DEBUG).
void info(const Args &... args)
Print an informational message, as Serial.print() does.
void status(const Args &... args)
Print a status message, as Serial.print() does (human-readable output only).
void debug(const Args &... args)
Print a debug message, as Serial.print() does (only with ENABLE_DEBUG).
void infolnDecimals(const int32_t value, const uint8_t decimals)
Print a value given as an integer with a fixed number of decimals, and a line end.
void complete()
Write whatever is left of the current output to Serial, waiting like a plain print.
void printDecimals(Print &out, int32_t value, uint8_t decimals)
Print a value given as an integer with a fixed number of decimals (see toDecimals())
Non-blocking serial output of the datalog.