MCPcopy Create free account
hub / github.com/LowPowerLab/RFM69 / SerialWrite

Function SerialWrite

RFM69.cpp:670–672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

668// replace Serial.print("string") with SerialPrint("string")
669#define SerialPrint(x) SerialPrint_P(PSTR(x))
670void SerialWrite(uint8_t c) {
671 Serial.write(c);
672}
673
674void SerialPrint_P(PGM_P str, void (*f)(uint8_t) = SerialWrite ) {
675 for (uint8_t c; (c = pgm_read_byte(str)); str++) (*f)(c);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected