The Jetson AGX Orin carrier board includes a 40-pin (2 × 20, 2.54 mm pitch) expansion header.As shown in the following figure:
I want to use the two free GPIO pins in the Expansion Header. Connect these two GPIO pins to two key modules. Then write a C++program in Orin to read the status of two key modules (i.e. whether they are pressed). What should I do or do I have any reference materials?
Thank you for your reply
Hello,
There is an official NVidia Python support for GPIO control GitHub - NVIDIA/jetson-gpio: A Python library that enables the use of Jetson's GPIOs
But also there is a C++ library: GitHub - pjueon/JetsonGPIO: A C++ library that enables the use of Jetson's GPIOs the API is very similar to Python version/
Both packages includes examples that you can modify with your requirements.
Please notice that some of the GPIO will require to change the PINMUX configuration.
Manuel Leiva
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com
system
Closed
September 25, 2024, 5:06am
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.