GPIO for jetson tx2

i’m new with jetson tx2 so im asking can i use the example of the GPIO for jetson tx1 on that link to try GPIO on tx2

i forgot to say that im working with c++

hello Fo2sh44,

you’re able to test the example for TX2.
however, please note that some of GPIO numbering is different than the Jetson TX1
please refer to below
[Tegra Linux Driver Package TX2 Adaptation Guide] from [L4T documentation]