The numbers of the GPIO04.BCM and GPIO04.BOARD by the python library

Hi,everyone
I want to change the state of GPIO04 by Python library,but I don’t know how to modification GPIO04.BCM or GPIO04.BOARD.
Can anybody tell me the value of the GPIO04.BCM or GPIO04.BOARD, and how are they calulated.
Thanks.

Can anybody help me. Thanks

Hi sjz_shaohua,

Are you using the devkit or custom board for Orin NX?
What’s your Jetpack version in use?

Have you referred to Jetson-GPIO API to control GPIO?

Hi,KevinFFF
We using custom board for Orin nx,and Jetpack is R35.4.1
I saw Jetson-gpio,and GPIO04 is not included in PIN40, So,I don’t know how to get GPIO04.BCM and GPIO04.BOARD.
I want to add GPIO04 information to gpio_pin_data.py, but right now I don’t know GPIO04.BCM and GPIO04.BOARD. How to get two values.

You could add a new entry into gpio_pin_data.py.
Please just use any new and unused number for BOARD/BCM/

Hi,KenviFFF
I have made many different changes to these two numbers, and it can be used.
Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.