Created by | |
Created | May 23, 2022 |
Last modified | May 26, 2022 |
Tags | No tags. |
Not provided.
Connect the Jetson TX1 pins 2, 37 and 39 as shown and run this code:
import Jetson.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setup(26, GPIO.OUT)
GPIO.output(26, GPIO.LOW)
print("pin 37 set low")
delay = 0.4
for x in range(10):
time.sleep(delay)
GPIO.output(26, GPIO.HIGH)
print("pin 37 set HIGH: " + str(x))
time.sleep(delay)
GPIO.output(26, GPIO.LOW)
print("pin 37 set LOW " + str(x))
print("doing cleanup")
GPIO.cleanup()
print("i'm done")
No comments yet. Be the first!
Please sign in or create an account to comment.
Only the circuit's creator can access stored revision history.