mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
update main.py and requestment for rtt port
This commit is contained in:
parent
1c497ed44d
commit
8971ff9466
@ -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)
|
||||
|
@ -1,3 +1,3 @@
|
||||
pikascript-core==v1.2.7
|
||||
PikaStdLib==v1.2.3
|
||||
pikaRTThread==v1.0.0
|
||||
pikaRTThread==latest
|
Loading…
x
Reference in New Issue
Block a user