MCPcopy Create free account
hub / github.com/WiringPi/WiringPi / analogRead

Function analogRead

wiringPi/wiringPi.c:2464–2472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2462 */
2463
2464int analogRead (int pin)
2465{
2466 struct wiringPiNodeStruct *node = wiringPiNodes ;
2467
2468 if ((node = wiringPiFindNode (pin)) == NULL)
2469 return 0 ;
2470 else
2471 return node->analogRead (node, pin) ;
2472}
2473
2474
2475/*

Callers 12

doReadallExternalFunction · 0.85
doGbrFunction · 0.85
doAreadFunction · 0.85
runRemoteCommandsFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

wiringPiFindNodeFunction · 0.85

Tested by

no test coverage detected