I want to control the servo motor with Jetson GPIO PWM using python code. I installed this GPIO repo for Jetson using
sudo pip install Jetson.GPIO. I am trying to check the GPIO Pin with following code but it is not working. Any Idea how I can make it work
import Jetson.GPIO as GPIO import time GPIO.setmode(GPIO.BOARD) GPIO.setwarnings(False) channel = 15 GPIO.setup(channel, GPIO.OUT,initial=GPIO.HIGH) while True: GPIO.output(channel, GPIO.LOW) time.sleep(1) GPIO.output(channel, GPIO.HIGH) time.sleep(1)
I checked it with multimeter but it is not working. I checked other GPIO pins by changing channel but still it has no output. Any Idea how to use it in Python.