Skip to content

Commit 8cf8422

Browse files
committed
Switch to the american spelling
1 parent 62d44b1 commit 8cf8422

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/images/main.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
"GGGGG.......",
2323
"wwwwwwwwwwww"]
2424

25-
xmas_colours = {'w': (0x20, 0x20, 0x20),
25+
xmas_colors = {'w': (0x20, 0x20, 0x20),
2626
'W': (0xFF, 0xFF, 0xFF),
2727
'G': (0x00, 0x20, 0x00),
2828
'y': (0x20, 0x20, 0x00),
2929
'Y': (0xFF, 0xFF, 0x00)}
3030

31-
wing.display_coloured_image(xmas, xmas_colours)
31+
wing.display_colored_image(xmas, xmas_colors)
3232

3333
time.sleep(5)
3434

@@ -64,5 +64,6 @@
6464
"GGGGG......W",
6565
"wwwwwwwwwwww"]]
6666

67-
wing.display_animation(xmas_animation, xmas_colours, 0.05)
67+
while True:
68+
wing.display_animation(xmas_animation, xmas_colors, 10, 0.05)
6869

0 commit comments

Comments
 (0)