As I got my spider today, I played around a bit with the LED module.
First impression: very nice
Second impression: Where the heck can I set the color? Oo
Is there really no way to just turn the LED on with a predefined color (like the ones used in Blink() and Fade() )?
There defenitely has to be a way to say
led.SetColor(Color color)
Maybe I am just too stupid to find it…
Well we could use FadeOnce with OldColor = Black and new color the desired one, but that is a bit complicated isn’t it?
SetColor() would be a nice and easy addition.
As well as the second needed method:
led.FadeTo(Color color)
.
Currently you have to get the CurrentColor etc, way to complicated imho
Well then second suggestion, is about the LED control code.
I made a thread which does nothing but fade from one color to another. Everytime the current fade is finished ( Led.AnimationFinished) it fades to the next color.
Works quite well so far but most of the time the LED flickers a bit while starting the new fade. Doesn’t look too nice but isn’t a deal breaker either.