color = Color.kWhite;
}
+ candle.clearAllAnimations();
setStatic();
System.out.println("CANdle features: " + featureConf + ", LED config: " + ledConf);
}
public void setStrobe() {
+ candle.clearAllAnimations();
candle.setControl(new StrobeAnimation(8, 8 + stripLength).withFrameRate(FLASH_RATE).withColor(new RGBWColor(color)));
}
public void setStatic() {
+ candle.clearAllAnimations();
candle.setControl(new SolidColor(8, 8 + stripLength).withColor(new RGBWColor(color)));
}
public void lightsOff() {
+ candle.clearAllAnimations();
candle.setControl(new SolidColor(8 , 8 + stripLength).withColor(new RGBWColor(0, 0, 0, 0)));
}