14 lines
220 B
Python
Raw Normal View History

2021-11-03 10:16:17 +08:00
import PikaStdLib
import pikaRTThread
2021-11-03 10:16:17 +08:00
thread = pikaRTThread.Thread()
2021-12-10 12:36:23 +00:00
mem = PikaStdLib.MemChecker()
2021-12-09 14:06:38 +00:00
i = 0
while i < 3:
i = i + 1
print('hello PikaScript!')
thread.mdelay(500)
2021-12-10 12:36:23 +00:00
print('mem use max:')
mem.max()