update main.py and requestment for rtt port

This commit is contained in:
pikastech 2021-12-08 21:46:24 +08:00
parent 1c497ed44d
commit 8971ff9466
2 changed files with 6 additions and 11 deletions

View File

@ -1,13 +1,8 @@
import PikaStdLib
import pikaRTThread
print('hello PikaScript!')
thread = pikaRTThread.Thread()
mem = PikaStdLib.MemChecker()
print('mem used max:')
mem.max()
i = 0
while i < 100:
i = i + 1
print(i)
while True:
print('hello PikaScript!')
thread.mdelay(500)

View File

@ -1,3 +1,3 @@
pikascript-core==v1.2.7
PikaStdLib==v1.2.3
pikaRTThread==v1.0.0
pikaRTThread==latest