Update code.py

This commit is contained in:
Mike Barela 2019-07-10 15:50:07 -04:00 committed by GitHub
parent 184d22aad5
commit 23f39c47ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,8 +17,8 @@ LED13 = digitalio.DigitalInOut(board.D13)
LED13.direction = digitalio.Direction.OUTPUT
pixel_pin = board.D5
num_pixels = 22
pixels = neopixel.NeoPixel(pixel_pin, num_pixels, brightness=0.8)
num_pixels = 21
pixels = neopixel.NeoPixel(pixel_pin, num_pixels, brightness=1.0)
pixels.fill((0, 0, 0))
COLOR = (0, 200, 0) # Green