That's a bit weird. You know sudo echo 23 > /sys/class/gpio/export won't have the right effect though, since only the echo will be run as sudo, not the > bit? You'd have to sudo bash and then type the commands in there.
What OS are you using? Raspbian Stretch? I can't say I've used Stretch yet, but Jessie worked great.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
That's a bit weird. You know
sudo echo 23 > /sys/class/gpio/export
won't have the right effect though, since only theecho
will be run as sudo, not the>
bit? You'd have tosudo bash
and then type the commands in there.What OS are you using? Raspbian Stretch? I can't say I've used Stretch yet, but Jessie worked great.