Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Markdown syntax fix

  • Loading branch information...
commit 924ce98d90e9b32806d46f747cccae125e535721 1 parent bec7115
@adammhaile authored
Showing with 8 additions and 3 deletions.
  1. +8 −3 README.md
View
11 README.md
@@ -4,8 +4,11 @@ Initial code from: https://github.com/Sh4d/LPD8806
See a demo video here: http://www.youtube.com/watch?v=g5upsgqASiY
Download, extract, then run the help:
- >>> import LPD8806
- >>> help(LPD8806)
+
+ >>> import LPD8806
+ >>> help(LPD8806)
+
+
- The LPD8806 chip does not seem to really specify in what order the color channels are, so there is a helper function in case yours happen to be different. The most common seems to be GRB order but I have found some strips that use BRG order as well. If yours (like the one's from Adafruit) use GRB order nothing needs to be done as this is the default. But if the channels are swapped call the method setChannelOrder() with the proper ChannelOrder value. Those are the only two I've ever encountered, but if anyone ever encounters another, please let me know so I can add it.
@@ -13,4 +16,6 @@ Download, extract, then run the help:
- If any of the built in animations are not enough you can use any of the set or fill methods to manually manipulate the strip data.
- - These strips can get extremely bright
+ - These strips can get extremely bright (the above video was filmed using 50% brightness) so you can use setMasterBrightness() to set a global level which all output values are multiplied by. This way you don't have to manually modify all of the RGB values to adjust the levels. However, Color takes an optional brightness value so that it can be set on an individual level. Last, if using HSV, you can just set it's "Value" component to adjust the brightness level.
+
+ - ColorHSV is there for easily fading through a natural color progression. However, all methods take a Color object, so call ColorHSV.getColorRGB() before passing to any of the set, fill, or animation methods.
Please sign in to comment.
Something went wrong with that request. Please try again.