adammhaile / RPi-LPD8806

DEPRECATED!!! Checkout the new library, BiblioPixel - Follow the linked website.
https://github.com/ManiacalLabs/BiblioPixel
69 stars 28 forks source link

Refactoring #4

Closed Packetslave closed 11 years ago

Packetslave commented 11 years ago

Hi Adam,

This pull request is a fairly large refactoring of the library:

For the color.py and animation.py modules, I went with standard PEP8 python style (spaces instead of tabs, underscore_naming instead of camelCase naming, etc.). I didn't touch LPD8806.py more than absolutely necessary in this pull, so it's still formatted as originally written.

I've tested out each animation and the example demo on my 160-LED Adafruit strip, and all seemed to be well.

Let me know if you have comments. It's a pretty big change, but (IMHO) a net win for using the library if all you need is the LED control code, not the animations themselves.