diff --git a/app/start.py b/app/start.py index c61a1fc..e03ac64 100644 --- a/app/start.py +++ b/app/start.py @@ -3,8 +3,13 @@ import machine, neopixel -np = neopixel.NeoPixel(machine.Pin(26), 29) +leds_number = 30 +pin_led = 26 -for i in range(0, 29): - np[i] = (255, 255, 0) +np = neopixel.NeoPixel(machine.Pin(pin_led), leds_number) + +for i in range( + leds_number, +): + np[i] = (255, 255, 255) np.write()