update port/rt-thread/main.py.

This commit is contained in:
李昂 2021-12-10 12:36:23 +00:00 committed by Gitee
parent 08f227ffbb
commit 365d955074
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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()