Open glynhudson opened 8 years ago
I am trying to upload to raspduino via platfomIO, I am getting errror:
scons: *** [upload] /sys/class/gpio/gpio18/direction: Permission denied
I'm not sure why there is a permissions error since I can successfully control the GPIO using non root commands (pi user) bash e.g.
echo 18 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio18/direction echo 1 > /sys/class/gpio/gpio18/value echo 0 > /sys/class/gpio/gpio18/value echo 18 > /sys/class/gpio/unexport
Can you see what I'm missing? Thanks.
Can you do "strace -o strace.out -f " before the command that produces the permission error? Analyse the output file (strace.out) or Email it to me. Or put it up somewhere and provide a link here.
I am trying to upload to raspduino via platfomIO, I am getting errror:
scons: *** [upload] /sys/class/gpio/gpio18/direction: Permission denied
I'm not sure why there is a permissions error since I can successfully control the GPIO using non root commands (pi user) bash e.g.
Can you see what I'm missing? Thanks.