GPIO in jetson nano C++with vs code

Hello ;

I need to access the GPIO pins with c++ program and i need to use the vs code to develop this but i could’t find any resource to make this.

I installed vs code and c++ extension and installed this library GitHub - pjueon/JetsonGPIO: A C++ library that enables the use of Jetson's GPIOs .

but i don’t what should i do next.


hello ahmad.elwaly,

this isn’t maintain by NVIDIA, and it’s porting from Jetson.GPIO Python library. however, the concept remain the same for controlling the pin. you may check samples for toggling the pin.
in addition, you may see-also Topic 144550, for several ways to access GPIOs. such as, kernel APIs, python scripts, C++ samples.

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