mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
update port/rt-thread/main.py.
This commit is contained in:
parent
08f227ffbb
commit
365d955074
@ -2,8 +2,12 @@ import PikaStdLib
|
||||
import pikaRTThread
|
||||
|
||||
thread = pikaRTThread.Thread()
|
||||
mem = PikaStdLib.MemChecker()
|
||||
i = 0
|
||||
while i < 3:
|
||||
i = i + 1
|
||||
print('hello PikaScript!')
|
||||
thread.mdelay(500)
|
||||
|
||||
print('mem use max:')
|
||||
mem.max()
|
||||
|
Loading…
x
Reference in New Issue
Block a user