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.

Home Page:http://mraa.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Examples reject GPIO values as invalid

jpelletier opened this issue · comments

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

Same issue