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

Function doWriteByte

gpio/gpio.c:645–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643 */
644
645static void doWriteByte (int argc, char *argv [])
646{
647 int val ;
648
649 if (argc != 3)
650 {
651 fprintf (stderr, "Usage: %s wb value\n", argv [0]) ;
652 exit (1) ;
653 }
654
655 val = (int)strtol (argv [2], NULL, 0) ;
656
657 digitalWriteByte (val) ;
658}
659
660
661/*

Callers 1

mainFunction · 0.85

Calls 1

digitalWriteByteFunction · 0.85

Tested by

no test coverage detected