External button input?

I am very much new to all of this but have figured out how to get everything to work so far (object detection and interfacing with a robotics controller via USB). My next step is to work on having an external button or switch to trigger something in a program.

I did some searching and wasn’t able to find anything that made sense to me, if someone can point me in the right direction that would be great.

A thought was to connect to an arduino via GPIO but as you can probably see by my solution, I am guessing that is not the best way to do this.

hello scbean,

you might use GPIO EXPAND (J21) on Jetson devkit.
please also refer to Topic 1030443 and JETSON TX2 HEADER PINOUT to implement your external controls via GPIO.
thanks