A quick demo using Tornado to turn LEDs on and off.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
George Knowlden d3b7d19a87
Added readme
7 years ago
.gitignore Initial commit 7 years ago
README.md Added readme 7 years ago
app.py Initial commit 7 years ago
index.html Initial commit 7 years ago
led.py Initial commit 7 years ago
requirements.txt Initial commit 7 years ago

README.md

Start up a Pi running Raspbian, and connect it to your network.

Connect a red LED to BCM 19, and a green one to BCM 26.

Download this git repo.

Install the requirements from requirements.txt.

Run the app with python app.py.

Load up the browser from inside the network.

Press the buttons to toggle the state of the LEDs.