20extern void assertSerial(
const char *func,
const char *file,
int lineno,
const __FlashStringHelper *exp);
30#define assert(e) ((e) ? (void)0 : assertSerial(__func__, __FILE__, __LINE__, F(#e)))
42inline Print &
operator<<(Print &p,
const T o) { p.print(o);
return p; }
58inline Print &
operator <<(Print &p,
enum endl) { p.println(); p.flush();
return p; }
Print & operator<<(Print &p, const T o)
Output a specific type to the Print stream.
void assertSerial(const char *func, const char *file, int lineno, const __FlashStringHelper *exp)
Output assertion to Serial when the assertion expression is false.
endl
Special type to allow Serial << endl to print a line and flush the stream.