Skip to content

Commit 72a25cc

Browse files
committed
DM: slight example fix
1 parent bab5396 commit 72a25cc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/epd_blinka.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
WHITE = (0xFF, 0xFF, 0xFF)
3232
RED = (0xFF, 0x00, 0x00)
3333
BLACK = (0x00, 0x00, 0x00)
34-
GRAY = (0x7F, 0x7F, 0x7F)
3534

3635
# clear the buffer
3736
display.clear_buffer()
@@ -51,7 +50,7 @@
5150
# Move left to right keeping track of the current x position for drawing shapes.
5251
x = padding
5352
# Draw an ellipse.
54-
draw.ellipse((x, top , x+shape_width, bottom), outline=RED, fill=GRAY)
53+
draw.ellipse((x, top , x+shape_width, bottom), outline=RED, fill=WHITE)
5554
x += shape_width+padding
5655
# Draw a rectangle.
5756
draw.rectangle((x, top, x+shape_width, bottom), outline=RED, fill=BLACK)

0 commit comments

Comments
 (0)