fix typo in background_color example
This commit is contained in:
parent
7868b40ae4
commit
fb70ae4b70
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ from adafruit_display_text import label
|
|||
|
||||
|
||||
text = " Color Background Hello world"
|
||||
text_area = label.Label(terminalio.FONT, text=text, color=0x0000FF, backgroud_color=0xFFAA00)
|
||||
text_area = label.Label(terminalio.FONT, text=text, color=0x0000FF, background_color=0xFFAA00)
|
||||
text_area.x = 10
|
||||
text_area.y = 10
|
||||
board.DISPLAY.show(text_area)
|
||||
|
|
|
|||
Loading…
Reference in a new issue