'Jetson Xavier AGX GPIO is not sending any signals

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 the 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 a multimeter but it is not working. I checked other GPIO pins by changing the channel but still, it has no output. Any Idea how to use it in Python.

Regards



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source