2016-10-04 16:49:02 +00:00
|
|
|
#!../../vendor/micropython/unix/micropython
|
|
|
|
import sys
|
|
|
|
sys.path.append('../../src')
|
|
|
|
|
|
|
|
from trezor import ui, res
|
|
|
|
from trezor.ui import button
|
|
|
|
|
2016-10-05 18:17:32 +00:00
|
|
|
ui.display.clear()
|
2016-10-04 16:49:02 +00:00
|
|
|
ui.display.backlight(255)
|
|
|
|
|
|
|
|
image = res.load('./res/sl_logo.toif')
|
2016-10-06 09:47:12 +00:00
|
|
|
ui.display.image(60, 10, image)
|
2016-10-04 16:49:02 +00:00
|
|
|
|
2016-10-05 19:36:11 +00:00
|
|
|
ui.display.text_center(120, 160, "SatoshiLabs", 1, ui.WHITE, ui.BLACK)
|
2016-10-05 17:36:30 +00:00
|
|
|
ui.display.text_center(120, 183, "v0.1.1", 1, ui.GREY, ui.BLACK)
|
2016-10-04 16:49:02 +00:00
|
|
|
|
2017-04-09 00:38:24 +00:00
|
|
|
reboot = button.Button((0, 240 - 48, 240, 48), 'Reboot', normal_style=button.DEFAULT_BUTTON, active_style=button.DEFAULT_BUTTON_ACTIVE)
|
2016-10-04 16:49:02 +00:00
|
|
|
reboot.render()
|
|
|
|
|
|
|
|
while True:
|
2016-10-06 15:41:53 +00:00
|
|
|
ui.display.refresh()
|