lighten lines on a lolshield based on serial connection data
- an Arduino (I used a leonardo)
- a lolshield
- Software: arduino 1.0.5 and arduino-mk (in Debian/Ubuntu:
apt-get install arduino arduino-mk
) - Python
you need root to write on /dev/ttyACM0
.
sudo make upload
you need root to write on /dev/ttyACM0
.
sudo python send.py
Commands are:
- 1..9 for line number
- A..N length
- Z set
- Y clean one line
- S reset whole display
Examples:
3BZ
sets in 3rd line 2 dots1AZ2BZ3CZ4DZ5EZ6FZ7GZ8HZ9IZ
sets number of dots equal to line numberS
resets display4Y
resets line 4
Charliplexing.[cpp,h]
are from http://code.google.com/p/lolshield/ v82.
Licence: MIT