Update code.py

This commit is contained in:
Anne Barela 2023-02-10 17:45:16 -05:00 committed by GitHub
parent 40abf6569c
commit 6239098129
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ button.pull = Pull.UP
# pixel setup
pixel_num = 9
pixel_offset = 2
pixels = adafruit_ws2801.WS2801(board.SDA1, board.SCL1, pixel_num+pixel_offset, brightness=1,
pixels = adafruit_ws2801.WS2801(board.SDA1, board.SCL1, pixel_num+pixel_offset, brightness=1,
auto_write=False)
pixel_prev = [128] * len(pixels)