countdown-traffic-light
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Python+Arduino-based countdown for 5min lightning talks that acts as a traffic-light
Python+Arduino-based Lightning Talks Countdown
==============================================

This software shows a 5-minute countup (need to fix it to countdown) timer in
the terminal and sends information to Arduino turn on/off the red or green
lights.

To make it work:

- Connect a red light to digital port 4 and green to digital 2 of your Arduino;
- Upload `countdown.ino` to your Arduino;
- Plug your Arduino in your computer using a USB cable;
- Run `python countdown.py`


Requirements
------------

You need to install [pyserial](http://pyserial.sourceforge.net/). To do so,
execute:

    pip install pyserial

or:

    aptitude install python-serial

(If do you use Ubuntu, execute `sudo apt-get install aptitude` and be happy)

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。