If the board is running an OS similar to Udoobuntu 2 than you can use the follwing instructions: https://www.udoo.org/docs/Hardware_&_Accessories/GPIO_Pinout.html