Fixes in exit code

This commit is contained in:
Michal Moskal
2017-07-05 18:35:05 +01:00
parent 7ccdabb4d4
commit ddc53df7f8
4 changed files with 15 additions and 11 deletions

View File

@ -1,11 +1,10 @@
screen.clear()
screen.setFont(ScreenFont.Large)
//screen.drawText(10, 30, "Hello PXT!")
for (let i = 0; i < 10; ++i)
screen.drawText(10, 30, "Hello PXT!")
screen.drawRect(10, 70, 20, 10, Draw.Fill)
//screen.drawEllipse(40, 40, 20, 10)
screen.drawEllipse(40, 40, 20, 10)
output.setLights(LightsPattern.GreenFlash)
output.setLights(LightsPattern.GreenPulse)
input.buttonDown.onEvent(ButtonEvent.Click, () => {
screen.scroll(10)