xaratustrah / flask_led

Flask web application to turn a LED on and off on a Raspberry Pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask LED

This is a simple web application using Flask to turn an LED (or anything else) on and off on a Raspberry PI.

It uses many libraries and technologies namely flask, flask_wtf, flask bootstrap, jinja2, ajax calls in javascript and many more. The view has CSRF protection.

Hardware connection

connect an LED to the 40th pin through a 330 ohm resistor to ground.

Running as a service

Please consider this gist for more information.

About

Flask web application to turn a LED on and off on a Raspberry Pi

License:GNU General Public License v3.0


Languages

Language:HTML 49.5%Language:Python 49.3%Language:CSS 1.1%