Skip to content

Add control button to mjpeg_server.py or mjpeg_server_2.py #613

Answered by sandyol55
ballen4705 asked this question in Q&A
Discussion options

You must be logged in to vote

The code in
https://www.e-tinkers.com/2018/04/how-to-control-raspberry-pi-gpio-via-http-web-server/
may be a useful starting point.

The use of the out of date path /opt/vc/bin/ can be removed to call vcgencmd directly to keep the example code running correctly in current releases.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ballen4705
Comment options

Answer selected by ballen4705
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants