4.13 JNMMGPIOWrite

This function writes a data value to a specified GPIO port.

BYTE JNMMGPIOWrite(int Port, int data);

Usage Example

To write a data on port A

outport = 0;//port A
output_byte = 20;
JNMMGPIOWrite(outport, output_byte);
printf("written data = %d",output_byte);

Last updated