GPIO setting
Jetpack 6.x
Software Mapping of DI & DO
### Read DI
sudo apt install gpiod
sudo apt install python3-pip
sudo pip install Jetson.GPIO
# DI0 _ GPIO12 _ GPIO3_PN.01
# DI1 _ GPIO07 _ GPIO3_PG.06
# DI2 _ GPIO09 _ GPIO3_PAC.06
# DI0
PIN=PN.01
sudo gpioget $(sudo gpiofind $PIN)
# DI1
PIN=PG.06
sudo gpioget $(sudo gpiofind $PIN)
# DI2
PIN=PAC.06
sudo gpioget $(sudo gpiofind $PIN)
Jetpack 5.x
Software Mapping of DI & DO
Last updated