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

Function doExtensionDs18b20

wiringPi/wpiExtensions.c:512–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510 */
511
512static int doExtensionDs18b20 (char *progName, int pinBase, char *params)
513{
514 char *serialNum ;
515
516 if ((params = extractStr (progName, params, &serialNum)) == NULL)
517 return false ;
518
519 return ds18b20Setup (pinBase, serialNum) ;
520}
521
522
523/*

Callers

nothing calls this directly

Calls 2

extractStrFunction · 0.85
ds18b20SetupFunction · 0.85

Tested by

no test coverage detected