ledbar/host_python
2012-12-22 23:10:40 +01:00
..
cellular.py host_python/cellular.py: +x 2012-12-22 23:10:40 +01:00
demo.py host_python: Change default number of LEDs to 20 2012-08-19 21:01:48 +02:00
equalizer.py host_python/equalizer.py: Switch HUE default, add -H commandline option 2012-12-22 22:46:09 +01:00
ledbar.py host_python: Change default number of LEDs to 20 2012-08-19 21:01:48 +02:00
meny.py Added a program for outputting the CZK exchange rates onto a 5x4 matrix 2012-12-07 07:04:37 +01:00
rainbow.py host_python: Change default number of LEDs to 20 2012-08-19 21:01:48 +02:00
rainbow2d.py host_python/rainbow2d.py: Essential fixups; needs more work 2012-12-22 23:10:27 +01:00
README Added Python equalizer effect generator 2011-09-23 09:18:55 +02:00
send_to_serial.py Add synchronization byte \xAC at the beginning of RGB burst 2012-11-16 18:37:24 +01:00

INTRODUCTION:

The scripts in this directory try to work according to the KISS principle. It 
contains a script which redirects its stdin to serial device 
(send_to_serial.py), one that simulates the ledbar and sends the data unaltered 
from its stdin to its stdout, a module that helps programmers to program 
various graphical effects and some example effect generators using this module.


EXAMPLES:

./rainbow.py | ./demo.py >/dev/null
    - only simulate the rainbow effect, do not send it anywhere

./rainbow.py | ./send_to_serial.py
    - only send the data to the serial device, do not show the simulation

./rainbow.py | ./demo.py | ./send_to_serial.py
    - combine both options, show a simulation and send the data to the serial
      device


DEPENDENCIES:

demo.py requires PyGame, Python wrapper around SDL
send_to_serial.py requires PySerial, Python library for work with serial ports
equalizer.py requires PyAudio (wrapper around PortAudio) and a microphone