| aDig_Write | Index |
Definition:
Parameters:
| index | - | The index of the digital I/O pin to be written. |
| data | - | The data (0 or 1) to be written to the digital I/O pin. |
Return Value:
Description:
This routine writes a value to digital I/O pin configured as an output. An I/O error will occur if the pin is configured as an input.
Example:
aDig_Write(2, 0);
This would write a 0 to digital I/O pin 2.
Related: