change default animation to rainbow

This commit is contained in:
2018-10-09 11:00:41 +02:00
parent 6fc5908761
commit a916e542fb

View File

@@ -53,9 +53,7 @@ class IlluCat : public Sprocket {
pixels->Scanner(pixels->Wheel(COLOR_NOT_CONNECTED), pixelConfig.updateInterval);
}
virtual void defaultAnimation() {
// remove DEPRECATED USAGE
String defaultStr = String(defaultState.value);
PIXEL_FNCS[defaultState.mode](pixels, defaultStr.c_str());
pixels->RainbowCycle(pixelConfig.updateInterval);
}
Sprocket* activate(Scheduler* scheduler, Network* network) {