Alten Kommentar entfernt

This commit is contained in:
starcalc 2017-07-05 01:02:50 +02:00
parent 79e6189857
commit 188c408506
1 changed files with 0 additions and 31 deletions

View File

@ -229,34 +229,3 @@ void loop() {
Homie.loop();
ArduinoOTA.handle();
}
/************ Old stuff ************/
/*
bool pixelsHandler(const HomieRange& range, const String& value) {
String remaining = value;
int i = 0;
effect = EFFECT_NONE;
do {
String current = remaining.substring(0, 7);
Homie.getLogger() << i << ":" << current << endl;
uint32_t currentcolor = parseColor(current);
strip.setPixelColor(i, currentcolor);
i++;
remaining = remaining.substring(7);
} while (remaining.length() > 2 && (i < strip.numPixels()));
Homie.getLogger() << " filling rest with black" << endl;
while (i < strip.numPixels()) {
strip.setPixelColor(numToPos(i), strip.Color(0, 0, 0));
i++;
}
strip.show();
return true;
}
*/