DigitalWrite()
Writes values to the specified digital output channel(s).
Syntax
DigitalWrite(unsigned char numChans, unsigned char* channels, unsigned char* values);
numChans
The number of digital output channels to write to.
channels
A pointer to the first element in a byte array containing the digital channels to write to.
values
A pointer to the first element in an unsigned byte array that contains the bit packed digital values to write.
Returns
int status