pjueon / JetsonGPIO

A C++ library that enables the use of Jetson's GPIOs
MIT License
287 stars 102 forks source link

Error: The GPIO file cannot be found #121

Open USTBhyh opened 2 months ago

USTBhyh commented 2 months ago

Hello, I ran the following error when running sample_c++ in jetsonGPIO, how should I fix it? I was able to run it successfully when I implemented it with the python version ... terminate called after throwing an instance of 'std::runtime_error' what(): [Exception] [Exception] could not open directory: /sys/bus/platform/devices/2200000.gpio/gpio (catched from: GPIO::get_data()) (catched from: setmode())