DSCSAM_DIOInputBit
This function reads in the specified bit from the specified port and returns it in the location specified by the pointer to data.
Name | Description |
Port | 0 = A, 1 = B for Elton, Stevie & Jethro 0 = A, 1 = B, 2 = C for Ziggy |
Bit | 0-7 for port A, 0-4 for port B for Elton, Stevie & Jethro 0-7 for port A, 0-4 for port B and 0-7 for port C for Ziggy |
Value | pointer to receive the bit data; return data is always 0 or 1 |
Return Value |
Error code or 0. |
Last updated