kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Stellar: adjust html text example
rodzic
6afdfef45b
commit
130685eeeb
|
@ -173,7 +173,7 @@ async def message_update():
|
||||||
graphics.set_pen(graphics.create_pen(int(BACKGROUND_COLOUR[0]), int(BACKGROUND_COLOUR[1]), int(BACKGROUND_COLOUR[2])))
|
graphics.set_pen(graphics.create_pen(int(BACKGROUND_COLOUR[0]), int(BACKGROUND_COLOUR[1]), int(BACKGROUND_COLOUR[2])))
|
||||||
graphics.clear()
|
graphics.clear()
|
||||||
|
|
||||||
outline_text(MESSAGE, x=PADDING - shift, y=11)
|
outline_text(MESSAGE, x=PADDING - shift, y=4)
|
||||||
|
|
||||||
# update the display
|
# update the display
|
||||||
su.update(graphics)
|
su.update(graphics)
|
||||||
|
|
Ładowanie…
Reference in New Issue