https://github.com/mfa/seriallolshield
display bars on lolshield using data from serial connection
https://github.com/mfa/seriallolshield
Last synced: 12 months ago
JSON representation
display bars on lolshield using data from serial connection
- Host: GitHub
- URL: https://github.com/mfa/seriallolshield
- Owner: mfa
- License: gpl-3.0
- Created: 2014-09-06T11:17:37.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-08T11:14:05.000Z (almost 12 years ago)
- Last Synced: 2025-04-01T21:49:13.420Z (about 1 year ago)
- Language: C++
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# serial lolshield
## purpose
lighten lines on a lolshield based on serial connection data
## requirements
* an Arduino (I used a leonardo)
* [a lolshield](http://jimmieprodgers.com/kits/lolshield/)
* Software: arduino 1.0.5 and arduino-mk (in Debian/Ubuntu: `apt-get install arduino arduino-mk`)
* Python
## howto
### build and upload
you need root to write on `/dev/ttyACM0`.
```sudo make upload```
### send commands
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 dots
* `1AZ2BZ3CZ4DZ5EZ6FZ7GZ8HZ9IZ` sets number of dots equal to line number
* `S` resets display
* `4Y` resets line 4
## Sources
`Charliplexing.[cpp,h]` are from http://code.google.com/p/lolshield/ v82.
Licence: MIT