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.38k stars 615 forks source link

mraa-gpio: return proper error codes #1130

Open rurban opened 5 months ago

rurban commented 5 months ago

mraa-gpio: return proper error codes, because the permissions might be missing. /dev/class/gpio has now new nested symlinks which are not easily chgrp -R's, and then we want to fallback to sudo mraa-gpio.

led: print full brightness device paths on errors