-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RGB control #3
Comments
Even the command to turn the LEDs off isn't consistent. If I run this from the python shell, it occasionally turns the LEDs on!
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What the heck is wrong with the RGB control?
Using the supplied rgb.py script, it turns on random LEDs to random colors every time I run it.
The last line of the script is:
setRGB(Max_LED, 0, 0, 255)
As I read it, Max_LED sets all 3 lights, no red or green, and 100% blue - so this line says turn all 3 lights blue (0,0,255)....but that isn't what happens. I may or may not get all 3 lights, the lights that do turn on may or may not be blue. It seems completely random.
When I write a script to control a single LED, turning LED0 white (255,255,255) - it's a toss up as to which LED comes on, and what color it is when it does.
The text was updated successfully, but these errors were encountered: