From 6b702dfa8df4d1ddcd1e0d85f644901d35921193 Mon Sep 17 00:00:00 2001 From: Lyon <88232613+pikasTech@users.noreply.github.com> Date: Sun, 21 Nov 2021 09:48:58 +0800 Subject: [PATCH] Update main.py --- bsp/stm32g030c8/pikascript/main.py | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/bsp/stm32g030c8/pikascript/main.py b/bsp/stm32g030c8/pikascript/main.py index 68a0884e8..c87e07a44 100644 --- a/bsp/stm32g030c8/pikascript/main.py +++ b/bsp/stm32g030c8/pikascript/main.py @@ -1,22 +1,4 @@ from PikaObj import * import PikaStdLib -import Arm2D - -mem = PikaStdLib.MemChecker() -mem.max() -win = Arm2D.Window() -win.init() -win.background.setColor('white') -win.elems.box = Arm2D.Box() -win.elems.box.init() -while True: - win.elems.box.move(20, 20) - win.elems.box.setColor('green') - win.update() - win.elems.box.move(30, 50) - win.elems.box.setColor('blue') - win.update() - win.elems.box.move(50,30) - win.elems.box.setColor('red') - win.update() - mem.max() \ No newline at end of file +import PikaPiZero +import STM32