Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WiringPi/WiringPi
/ serialPutchar
Function
serialPutchar
wiringPi/wiringSerial.c:156–162 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
154
*/
155
156
void serialPutchar(const int fd, const unsigned char c)
157
{
158
ssize_t bytes_written = write(fd, &c, 1);
159
if (bytes_written != 1) {
160
perror(
"Error writing to file descriptor"
);
161
}
162
}
163
164
165
/*
Callers
8
myPinMode
Function · 0.85
myPullUpDnControl
Function · 0.85
myDigitalWrite
Function · 0.85
myPwmWrite
Function · 0.85
myAnalogRead
Function · 0.85
myDigitalRead
Function · 0.85
drcSetupSerial
Function · 0.85
main
Function · 0.85
Calls
no outgoing calls
Tested by
1
main
Function · 0.68