Skip to content

Instantly share code, notes, and snippets.

View kevinelgan's full-sized avatar

Kevin Elgan kevinelgan

View GitHub Profile
@kevinelgan
kevinelgan / button.py
Created March 16, 2018 06:40 — forked from tjoen/button.py
button.py
# Mycroft quick and dirty led and button tester
#
# Put mbus.py, button.py and light.py in /home/pi
# Run python lights.py in another terminal
# or better: add it to your autorun.sh like this:
# python /home/pi/lights.py </dev/null &>/dev/null &
# just before:
# else
# # running from a SSH session
# echo "Remote session"