Add microbit font

This commit is contained in:
Michal Moskal
2017-07-11 15:40:27 +02:00
parent 0d6e6a7c96
commit 574fdb3473
2 changed files with 27 additions and 0 deletions

View File

@ -13,6 +13,7 @@ input.buttonEnter.onEvent(ButtonEvent.Click, () => {
input.buttonLeft.onEvent(ButtonEvent.Click, () => {
screen.drawRect(10, 70, 20, 10, Draw.Fill)
output.setLights(LightsPattern.Red)
screen.setFont(screen.microbitFont())
})
input.buttonRight.onEvent(ButtonEvent.Click, () => {