Forum Replies Created
-
AuthorPosts
-
snoogensParticipant
awesome, that did it. I’m new to all this so I’m learning every.
thank you for your help.03/27/2016 at 03:09 in reply to: Simple 1 button GPIO on off switch: 1 switch, 2 wires, 10 lines of code #121589snoogensParticipantok, I checked and the folder and the file are where they belong.
I did the sido chown pi shutdown.sh
and ran my test again…
I get the same response as before.: not foundripts/shutdown.sh: 1 /home/pi/scripts/shutdown.sh:
: permission deniedutdown.sh: 5: /home/pi/scripts/shutdown.sh: cannot creat /sys/class/gpio/export
: Directory nonexistantwn.sh Syntax error: end of file unexpected (expecting “do”)03/27/2016 at 01:01 in reply to: Simple 1 button GPIO on off switch: 1 switch, 2 wires, 10 lines of code #121585snoogensParticipantwhen I try to test the file with
sudo chmod755 /home/pi/scripts/shutdown.sh
sh /home/pi/scripts/shutdown.sh
I get this
: not foundripts/shutdown.sh: 1 /home/pi/scripts/shutdown.sh:
: permission deniedutdown.sh: 5: /home/pi/scripts/shutdown.sh: cannot creat /sys/class/gpio/export
: Directory nonexistantwn.sh Syntax error: end of file unexpected (expecting “do”)I am very new to programing and have no idea why I am getting this error.
Thanks for any help you can be.03/26/2016 at 23:32 in reply to: Simple 1 button GPIO on off switch: 1 switch, 2 wires, 10 lines of code #121576snoogensParticipanthas anyone gotten this to work with RetroPie SD-card image Version 3.6 for Raspberry Pi 2 and 3.
I’m new to all this and I followed the instructions and it still will not work.snoogensParticipantI tried adding # to all the lines for retropi but it still loads.
snoogensParticipantthanks zerojay, after a little more digging I found the code to be able to change things…
snoogensParticipantwhen I try to edit this file it gives me a permission denied
snoogensParticipantniss3,
where did you find this fix? I am new to retropie and I have no idea where to make this change. I am having the same problem. -
AuthorPosts