ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

After a long struggle I finally got it. There is actually no need to use sudo at all if you use the wiringPi library. It has a command line utility called gpio which has an export function that makes the GPIOs accessible without the need for sudo both in Python and C/C++.

After a long struggle I finally got it. There is actually no need to use sudo at all (or modify user/user groups) if you use the wiringPi library. It has a command line utility called gpio which has an export function that makes the GPIOs accessible without the need for sudo both in Python and C/C++.

After a long struggle I finally got it. There is actually no need to use sudo at all (or modify user/user groups) if you use the wiringPi library. It has a command line utility called gpio which has an export function that makes the GPIOs accessible without the need for sudo both in Python and C/C++.

UPDATE: Since Raspbian Jessie the access to the GPIOs no longer requires sudo.