1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 09:58:27 +00:00
trezor-firmware/bootloader/ui-mockup/boot_init.py

16 lines
390 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.backlight(255)
image = res.load('./res/monero_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 17:36:30 +00:00
ui.display.text_center(120, 192, "MONERO", ui.BOLD, ui.WHITE, ui.BLACK)
ui.display.text_center(120, 215, "v0.1.1", 1, ui.GREY, ui.BLACK)
2016-10-04 16:49:02 +00:00
while True:
ui.display.refresh()