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
License Artistic 2.0 See http://opensource.org/licenses/Artistic-2.0