Read the GPIO pin

I am using TX2 module with Orbitty Carrier board. I want to use the GPIO pins as input (connect a digital sensor). How do I observe changes in input pins?

Thank you

hello yasincuskun,

you might check similar discussion thread, such as Topic 1030443, and Topic 1029697 for reference.

Hello JerryChang,

Thank you for your help. I solved the problem.