Webserver using GPIO - Raspberry Pi Forums


hey, pi noob , have been banging head against problem couple of days now. have apache webserver hosting couple of websites. works , want take next step of having button on website can turn led's on through gpio's. have set gpio's , have python script turns on , off , want goes website able push button , turn on light.

problem how add button existing website can access python script. have looked @ flask , have flask interface can on local network. not sure next step is.

confused means when says flask application, flask program running? need mod_wsgi , set up? if set html need put on page access this?

or going down wrong path , should using php exec run python program? have looked @ tutorials , walkthroughs online none seem want. either not using apache or seem outdated. can point me in right direction this?

virtually server side languages can want.
know php i've not used flash before, did quick google.
impression that, if you're new both, you'll learn use php faster.


raspberrypi



Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code