1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-20 21:38:26 +00:00
trezor-firmware/bootloader/ui-mockup/boot_init.py

17 lines
410 B
Python
Raw Normal View History

2016-10-04 16:49:02 +00:00
#!../../vendor/micropython/unix/micropython
import sys
sys.path.append('../../src')
from trezor import ui, res
ui.display.clear()
2016-10-04 16:49:02 +00:00
ui.display.backlight(255)
2016-10-05 18:27:35 +00:00
image = res.load('./res/sl_logo.toif')
2016-10-05 17:36:30 +00:00
ui.display.image(60, 32, image)
2016-10-04 16:49:02 +00:00
2016-10-05 18:27:35 +00:00
ui.display.text_center(120, 192, "SatoshiLabs", ui.BOLD, ui.WHITE, ui.BLACK)
2016-10-05 17:36:30 +00:00
ui.display.text_center(120, 215, "v0.1.1", 1, ui.GREY, ui.BLACK)
2016-10-04 16:49:02 +00:00
while True:
2016-10-06 15:41:53 +00:00
ui.display.refresh()