Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: GPIO buttons on moOde 9.
#19
Running the GPIO script in the command line gives this:

Code:
master@prometheus:~ $ sudo /var/www/daemon/gpio_buttons.py
bounce=1000ms
btn1, enabled y, gpio 27, pull-up, cmd=/home/master/StartStop.sh
btn2, enabled n, gpio 02, pull-up, cmd=
btn3, enabled n, gpio 02, pull-up, cmd=
btn4, enabled n, gpio 02, pull-up, cmd=
btn5, enabled n, gpio 02, pull-up, cmd=
btn6, enabled n, gpio 02, pull-up, cmd=
btn7, enabled n, gpio 02, pull-up, cmd=
btn8, enabled n, gpio 02, pull-up, cmd=
[Errno 13] Permission denied: ''
The permission error comes when the button is pressed.

Not sure what the permission refers to.
----------------
Robert
Reply


Messages In This Thread
GPIO buttons on moOde 9. - by the_bertrum - 05-20-2024, 06:57 PM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-20-2024, 07:09 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-20-2024, 07:51 PM
RE: GPIO buttons on moOde 9. - by TheOldPresbyope - 05-20-2024, 08:22 PM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-20-2024, 08:30 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-20-2024, 09:42 PM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-20-2024, 10:37 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-21-2024, 07:57 AM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-21-2024, 08:03 AM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-21-2024, 08:40 AM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-21-2024, 08:51 AM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-21-2024, 11:16 AM
RE: GPIO buttons on moOde 9. - by Dorffen - 05-21-2024, 09:09 AM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-22-2024, 01:08 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-22-2024, 01:25 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-22-2024, 02:09 PM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-22-2024, 06:56 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-26-2024, 03:33 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-26-2024, 05:17 PM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-26-2024, 06:13 PM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-26-2024, 07:02 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-27-2024, 12:28 PM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-27-2024, 12:54 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-27-2024, 01:51 PM

Forum Jump: