sideways now
This commit is contained in:
parent
1ce1a0fba1
commit
0fa60109b9
BIN
background.png
BIN
background.png
Binary file not shown.
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 3.6 KiB |
BIN
background.psd
Normal file
BIN
background.psd
Normal file
Binary file not shown.
@ -29,7 +29,7 @@ def print_digit(position, digit):
|
|||||||
|
|
||||||
sprite = text_mask.crop((s_x, 0, s_x + num_width, num_height))
|
sprite = text_mask.crop((s_x, 0, s_x + num_width, num_height))
|
||||||
|
|
||||||
inkyphat.paste(inkyphat.BLACK, (o_x, o_y), sprite)
|
inkyphat.paste(inkyphat.WHITE, (o_x, o_y), sprite)
|
||||||
|
|
||||||
def print_number(position, number):
|
def print_number(position, number):
|
||||||
"""Prints a number using the sprite sheet."""
|
"""Prints a number using the sprite sheet."""
|
||||||
|
Loading…
Reference in New Issue
Block a user