color swap

This commit is contained in:
Tyrel Souza 2018-08-28 22:12:10 -04:00
parent 73fd50812d
commit 0ebf65d3c3
No known key found for this signature in database
GPG Key ID: 5A9394D4C30AEAC0

View File

@ -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.WHITE, (o_x, o_y), sprite) inkyphat.paste(inkyphat.RED, (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."""