Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Commit 3ab7995

Browse files
authored
Added Jetson functionality to GPIO
1 parent 7436551 commit 3ab7995

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Adafruit_GPIO/GPIO.py

+3
Original file line numberDiff line numberDiff line change
@@ -422,5 +422,8 @@ def get_platform_gpio(**keywords):
422422
elif plat == Platform.MINNOWBOARD:
423423
import mraa
424424
return AdafruitMinnowAdapter(mraa, **keywords)
425+
elif plat == Platform.JETSON_NANO:
426+
import Jetson.GPIO
427+
return RPiGPIOAdapter(Jetson.GPIO, **keywords)
425428
elif plat == Platform.UNKNOWN:
426429
raise RuntimeError('Could not determine platform.')

0 commit comments

Comments
 (0)