Update cheerlights.py

updated with @Gadgetoid suggestion.
pull/546/head
Brian Corteil 2023-02-23 21:35:29 +00:00
rodzic a5538da8e6
commit 37ff6b8b37
1 zmienionych plików z 3 dodań i 5 usunięć

Wyświetl plik

@ -17,11 +17,9 @@ height = GalacticUnicorn.HEIGHT
# fill display
def draw(colour):
for x in range(width):
for y in range(height):
graphics.set_pen(colour)
graphics.pixel(x, y)
graphics.set_pen(colour)
graphics.clear()
gu.update(graphics)