You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.1 KiB
1.1 KiB
learn_jetson_nx
Learning how to use the Jetson NX
Remote Python Interpreter
Since this needs to run on the Jetson Xavier NX we have to ensure that the remote python interpreter is set.
sudo apt update
sudo apt install python3.8-dev python3.8-venv
To use the GPIO you need the Jetson.GPIO library installed, create a gpio group, and apply the custom udev rules.
python3.8 -m pip install Jetson.GPIO
This installs the package in the user home .local folder. We need to know this location to copy the [udev rules].
sudo cp ~/.local/lib/python3.8/site-packages/Jetson/GPIO/99-gpio.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules && sudo udevadm trigger
To start playing with GPIO you can reference the samples at https://github.com/NVIDIA/jetson-gpio. A detailed GPIO pinout can be found here at JetsonHacks.