diff --git a/disco.cpp b/disco.cpp index e097578ec385af4a8ab1c2ee21dfff368e3cf649..4427f0a78d35bccc7049ea518fbebbaf8d4aaeab 100644 --- a/disco.cpp +++ b/disco.cpp @@ -68,22 +68,4 @@ int main() { ledStrip.show(); sleep_ms(counter); } - //Add on off buttons - - /* - while (true) { - // Pick a random color - uint32_t color = (uint32_t)rand(); - // Pick a random direction - int8_t dir = (rand() & 1 ? 1 : -1); - // Setup start and end offsets for the loop - uint8_t start = (dir > 0 ? 0 : LED_LENGTH); - uint8_t end = (dir > 0 ? LED_LENGTH : 0); - for (uint8_t ledIndex = start; ledIndex != end; ledIndex += dir) { - ledStrip.setPixelColor(ledIndex, color); - ledStrip.show(); - sleep_ms(50); - } - } - */ } \ No newline at end of file