Hi, it seems pretty clear that the Jetson Nano’s GPIO is trying to be pin-compatible with the Raspberri Pi header. I was wondering, can code designed to interface with the RPi’s GPIO run on the Jetson? Specifically, I’m trying to run some Python 3 packages that use the RPi.GPIO package, and getting the following error:
File “/home/maximecb/pypot/build/lib/pypot/sensor/contact/contact.py”, line 1, in
import RPi.GPIO as GPIO
File “/usr/lib/python3/dist-packages/RPi/GPIO/init.py”, line 23, in
from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!
The error seems to be coming from some precompiled library:
Is there an equivalent Python GPIO library for the Jetson Nano? If not, could we expect the RPi GPIO library to work on the Jetson if we just remove the assertion producing the error message above?