Observatory Shutter Opener - Raspberry Pi Forums
hello,
rpi beginner working on project use raspberry pi open shutters (doors slide out of way telescope open sky) in observatory work at. these shutters presently opened , closed small motor. these shutters similar garage door, have used instructables post guideline: http://www.instructables.com/id/web-ena ... spberry-pi . have completed .html aspect of web site stuck in writing .php code. guide i'm using has 1 button open/close of garage door while using 3 buttons: open, stop, , close. tell me how write proper code these processes?
rpi beginner working on project use raspberry pi open shutters (doors slide out of way telescope open sky) in observatory work at. these shutters presently opened , closed small motor. these shutters similar garage door, have used instructables post guideline: http://www.instructables.com/id/web-ena ... spberry-pi . have completed .html aspect of web site stuck in writing .php code. guide i'm using has 1 button open/close of garage door while using 3 buttons: open, stop, , close. tell me how write proper code these processes?
p.s. here html code:
code: select all
<html><body> <h1 style="font-size:500%;text-align:center;">tower 2 controls<h1> <form action>=”shuttero.php” method=”get”> <div style="text-align:center"> <h4><input type="submit" value="open shutter" style="width:250px; height:50px;font-size:27px;color:white;border-radius: 25px; background-color: 0b243b;"><h4> </div> <form action>=”shutters.php” method=”get”> <div style="text-align:center"> <h4><b><input type="submit" value="stop" style="width:150px; height:150px;font-size:50px;color:white;align:center;border-radius: 25px; background-color: red;"></b><h4> <form action>=”shutterc.php” method=”get”> </div> <div style="text-align:center"> <h4><input type="submit" value="close shutter" style="width:250px; height:50px;font-size:27px;color:white;border-radius: 25px; background-color: 0b243b;"><h4> </div> </form> </body></html>
raspberrypi
Comments
Post a Comment