05-26-2024, 05:17 PM
Running the GPIO script in the command line gives this:
The permission error comes when the button is pressed.
Not sure what the permission refers to.
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: ''
Not sure what the permission refers to.
----------------
Robert
Robert