4.15 JNMMGPIOWriteBit
This function outputs the desired value to a single bit. The other bits remain at their current values.
Name | Description |
Port | 0- for port A, 1- for port B |
Bit | DIO line number, 0-15 |
data | pointer to receive the bit data; data is always 0 or 1 |
Return Value |
Error code or 0. |
Usage Example
To write a single bit.
Last updated