Check my thinking, as I’ve not done much with battery level styles in the past…
I have a two-colour basic LED - red and blue with common anode.
I want the following behaviour:
Blade off - slow blink blue unless the battery level is low in which case it just lights red.
Blade on - fast blink, alternating blue and red.
Will this code do it?
// Switch LED, Red Side:
StylePtr<InOutHelper<Blinking<Red,Black,1000,500>,200,200,Mix<BatteryLevel,Red,Black,Black,Black>>>(),
// Switch LED, Blue Side:
StylePtr<InOutHelper<Blinking<Black,Blue,1000,500>,200,200,Mix<BatteryLevel,Black,Blinking<Blue,Black,2200,500>,Blinking<Blue,Black,2200,500>,Blinking<Blue,Black,2200,500>>>>(),
Thanks in advance. ![]()
