Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
void echoCallback(Stream& stream, char arrivedChar, unsigned short availableCharsCount)
15
{
16
stream.write(arrivedChar);
17
}
18
19
void SerialReadingDelegateDemo::begin(HardwareSerial& serial)
20
{
Callers
nothing calls this directly
Calls
1
write
Method · 0.45
Tested by
no test coverage detected