Jetson Nano GPIO example problem

hi all,

suggest you also refer to Topic 1052582 for Jetson.GPIO interrupt processing on Jetson-Nano.

On the Jetson Nano, like the Raspberry Pi, there are built in Pull up and Pull down resistors which internalize the actual resistor itself. On the Raspberry Pi, the direction (pull up, pull down) are programmable in user space, on the Jetson Nano they are setup in the device tree and not easily accessible at run time. Therefore you need to pick your method and wire the switch accordingly.