2016-10-03 17:39:21 +00:00
|
|
|
#!../../vendor/micropython/unix/micropython
|
|
|
|
import sys
|
|
|
|
sys.path.append('../../src')
|
|
|
|
|
|
|
|
from trezor import ui, res
|
|
|
|
|
2016-10-05 18:17:32 +00:00
|
|
|
ui.display.clear()
|
2016-10-03 17:39:21 +00:00
|
|
|
ui.display.backlight(255)
|
|
|
|
|
|
|
|
image = res.load('../../src/apps/homescreen/res/trezor.toig')
|
|
|
|
ui.display.icon(0, 0, image, ui.WHITE, ui.BLACK)
|
|
|
|
|
2016-10-05 17:36:30 +00:00
|
|
|
ui.display.bar(0, 175, 240, 48, ui.BLACK)
|
2016-10-03 17:39:21 +00:00
|
|
|
|
|
|
|
ui.display.text_center(120, 192 + 32, "Visit TREZOR.io/start", 1, ui.WHITE, ui.BLACK)
|
|
|
|
|
2016-10-04 16:49:02 +00:00
|
|
|
|
2016-10-03 17:39:21 +00:00
|
|
|
while True:
|
2016-10-05 18:17:32 +00:00
|
|
|
if hasattr(ui.display, 'refresh'): ui.display.refresh()
|