From 188c4085065725f44ab544484358613e0da83f67 Mon Sep 17 00:00:00 2001 From: starcalc Date: Wed, 5 Jul 2017 01:02:50 +0200 Subject: [PATCH] Alten Kommentar entfernt --- pixelprojektor/pixelprojektor.ino | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/pixelprojektor/pixelprojektor.ino b/pixelprojektor/pixelprojektor.ino index e0c2272..7908458 100644 --- a/pixelprojektor/pixelprojektor.ino +++ b/pixelprojektor/pixelprojektor.ino @@ -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; - } -*/