Created by
Created May 23, 2022
Last modified May 26, 2022
Tags No tags.

Summary

Not provided.


Description

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")

Comments

No comments yet. Be the first!

Leave a Comment

Please sign in or create an account to comment.

Revision History

Only the circuit's creator can access stored revision history.