MCPcopy Create free account
hub / github.com/SmingHub/Sming / echoCallback

Function echoCallback

samples/Basic_Serial/app/SerialReadingDelegateDemo.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14void echoCallback(Stream& stream, char arrivedChar, unsigned short availableCharsCount)
15{
16 stream.write(arrivedChar);
17}
18
19void SerialReadingDelegateDemo::begin(HardwareSerial& serial)
20{

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected