You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using it in a project with an WS2812B attached to a Sparkfun ProMicro 32u4. When I put the arduino into standby the LED is flashing alternate red / green and I can't seem to stop it. (I've tried setting the LED to 0,0,0, black etc but nothing works. Any ideas as it's playing havoc with my attempts to save battery life?
Also, I've also noticed that R and G are switched around in the library when selecting the WS1812B. To get a full green I have to use 255,0,0 and to get a full red I have to use 0,255,0. Not sure if this is a problem with the library or whether I was sold the wrong LED's!
Re: the RGB ordering issue see this page in the wiki page for RGBCalibrate - manufacturers sometimes re-order the RGB ordering. Sometimes this is spec'd in the chip, sometimes not. You can change the ordering programatically though, for example:
will shuffle the rgb ordering on output appropriately.
As far as what's going on with sleep - I'm not sure, having never played with the sleep functionality. You might need to use something (transistor? mosfet? this side of electronics i'm weak on) to actually cut power/data connection to the leds when you want to sleep the pro micro. Keep in mind these leds will pull power even when completely off. The Chipset reference wiki page has what we know so far about dark power draws.
Activity
focalintent commentedon Feb 18, 2014
Re: the RGB ordering issue see this page in the wiki page for RGBCalibrate - manufacturers sometimes re-order the RGB ordering. Sometimes this is spec'd in the chip, sometimes not. You can change the ordering programatically though, for example:
will shuffle the rgb ordering on output appropriately.
As far as what's going on with sleep - I'm not sure, having never played with the sleep functionality. You might need to use something (transistor? mosfet? this side of electronics i'm weak on) to actually cut power/data connection to the leds when you want to sleep the pro micro. Keep in mind these leds will pull power even when completely off. The Chipset reference wiki page has what we know so far about dark power draws.
focalintent commentedon Sep 25, 2014
Is this still an issue? Do you have sample code/pictures of your setup?
chore(deps): bump clang-tool-chain to >=1.5.2 (Windows zccache em++/e…