Hi to all,
I'm newer so I hope your comprehension.
my board Orange Pi Zero 512
my python script for turno on/off rele board works well, but only if call it directly form terminal.
If call it from cgi, crontab don't controll the rele board: gpio.init() semms crashed but the script complete its work.
What I'm wrong?
Thanks
----
from pyA20.gpio import gpio
from pyA20.gpio import port
gpioinit = gpio.init()
gpioscfg = gpio.setcfg(port.PA19, gpio.OUTPUT)
gpio.output(port.PA19, gpio.LOW)
print "ok"
-----