No description, website, or topics provided.
Perl
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
traffic.pl

README.md

smstext-democode-v1-perl

traffic.pl

This is a simple program that allows one to use the MyPiFi LED Board to go through a US style traffic light routine. Note this is designed for the version 1.0 board.

Usage: For an automatic light cycle, use:

sudo perl traffic.pl

For a cycle which requires a pedestrian to push the onboard button:

sudo perl traffic.pl 1

Thanks to:

https://github.com/frezik/rpi_perl_presentation/blob/master/switch_blink.pl

and

https://github.com/ZacharyIgielman/smstext-demo-code

Presentation: https://docs.google.com/presentation/d/1AyjhlfuKW0ydMnGgfOwgG-iE3QmfN_AGUWiXBFkpIuw/edit?usp=sharing

License Artistic 2.0 See http://opensource.org/licenses/Artistic-2.0