I have a servo motor that I would like to integrate with the TX2 board. It is already connected to the appropriate driver which now needs to be interfaced with the GPIO pins of the TX2.
Here’s an image of the driver that I am using https://lastminuteengineers.com/wp-content/uploads/arduino/ULN2003-Stepper-Motor-Driver-Overview.jpg
The driver has 4 control inputs to be connected, however, I am not sure which pins it has to be connected to on the J21.
I looked at a pinout diagram I found on NVIDIA Jetson TX2 J21 Header Pinout - JetsonHacks and I believe I would be connecting it to GPIO_GEN3, GPIO_GEN4, GPIO_GEN6 and GPIO12. Please correct me if I’m wrong about this.
I am also unsure about how I would write code to configure this as well as get it to rotate. Any assistance would be appreciated.