| aDig_ReadAllInt | Index |
Definition:
| int aDig_ReadAllInt( | ); |
Return Value:
Description:
This routine reads the states of all the digital inputs and returns an int with its bits set according to the states of those input pins. All digital I/O pins must be configured as inputs otherwise this function will cause an I/O error.
Example:
n = aDig_ReadAllInt();
This would read the input bits into variable n.
Related: