5.11 JNMMGPIOReadBit
This function reads in the specified bit and returns it in the location specified by the pointer to data.
Name | Description |
Port | 0 - for port A, 1 - for port B |
Bit | DIO line number, 0-15 |
Data | read value. |
Return Value |
returns 0 on success and 1 on error |
Usage Example
To read single bit.
Last updated