We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62d44b1 commit 8cf8422Copy full SHA for 8cf8422
examples/images/main.py
@@ -22,13 +22,13 @@
22
"GGGGG.......",
23
"wwwwwwwwwwww"]
24
25
-xmas_colours = {'w': (0x20, 0x20, 0x20),
+xmas_colors = {'w': (0x20, 0x20, 0x20),
26
'W': (0xFF, 0xFF, 0xFF),
27
'G': (0x00, 0x20, 0x00),
28
'y': (0x20, 0x20, 0x00),
29
'Y': (0xFF, 0xFF, 0x00)}
30
31
-wing.display_coloured_image(xmas, xmas_colours)
+wing.display_colored_image(xmas, xmas_colors)
32
33
time.sleep(5)
34
@@ -64,5 +64,6 @@
64
"GGGGG......W",
65
"wwwwwwwwwwww"]]
66
67
-wing.display_animation(xmas_animation, xmas_colours, 0.05)
+while True:
68
+ wing.display_animation(xmas_animation, xmas_colors, 10, 0.05)
69
0 commit comments