1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-21 05:48:23 +00:00
trezor-firmware/bootloader/ui-mockup/boot_init.py
2016-10-06 17:41:53 +02:00

17 lines
410 B
Python
Executable File

#!../../vendor/micropython/unix/micropython
import sys
sys.path.append('../../src')
from trezor import ui, res
ui.display.clear()
ui.display.backlight(255)
image = res.load('./res/sl_logo.toif')
ui.display.image(60, 32, image)
ui.display.text_center(120, 192, "SatoshiLabs", ui.BOLD, ui.WHITE, ui.BLACK)
ui.display.text_center(120, 215, "v0.1.1", 1, ui.GREY, ui.BLACK)
while True:
ui.display.refresh()