color swap
This commit is contained in:
parent
73fd50812d
commit
0ebf65d3c3
|
@ -29,7 +29,7 @@ def print_digit(position, digit):
|
|||
|
||||
sprite = text_mask.crop((s_x, 0, s_x + num_width, num_height))
|
||||
|
||||
inkyphat.paste(inkyphat.WHITE, (o_x, o_y), sprite)
|
||||
inkyphat.paste(inkyphat.RED, (o_x, o_y), sprite)
|
||||
|
||||
def print_number(position, number):
|
||||
"""Prints a number using the sprite sheet."""
|
||||
|
|
Loading…
Reference in New Issue
Block a user