mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Fixed defaults for sensehat.show_letter()
This commit is contained in:
parent
466e7c684d
commit
09de18a48b
@ -175,7 +175,7 @@ def show_message(message, msg_type=None,
|
||||
_sensehat.show_message(message, scroll_speed, text_color, back_color)
|
||||
return {'message': message}
|
||||
|
||||
def show_letter(letter, text_color, back_color):
|
||||
def show_letter(letter, text_color=[255, 255, 255], back_color=[0, 0, 0]):
|
||||
'''
|
||||
Displays a single letter on the LED matrix.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user