eclipse / mraa

Linux Library for low speed IO Communication in C with bindings for C++, Python, Node.js & Java. Supports generic io platforms, as well as Intel Edison, Intel Joule, Raspberry Pi and many more.
http://mraa.io
MIT License
1.36k stars 613 forks source link

Examples reject GPIO values as invalid #1056

Open jpelletier opened 3 years ago

jpelletier commented 3 years ago

On the Dragonboard 410c Examples gpio_cpp and gpio_advanced_cpp reject all the GPIO values as invalid

Compiled examples are in build/examples/c++. The 2 examples using GPIOs are gpio_cpp and gpio_advanced_cpp. All values that we put for the GPIO are rejected even when running with sudo or sudo su.

linaro@linaro:~/Documents/src/96boards/mraa/build/examples/c++$ sudo ./gpio_cpp terminate called after throwing an instance of 'std::invalid_argument' what(): Invalid GPIO pin specified Aborted

TigerVersusT commented 3 years ago

Same issue