From 365d955074b96b86c2d1492f8aeec3d4f5bc8819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=98=82?= <645275593@qq.com> Date: Fri, 10 Dec 2021 12:36:23 +0000 Subject: [PATCH] update port/rt-thread/main.py. --- port/rt-thread/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/port/rt-thread/main.py b/port/rt-thread/main.py index 87733382d..7eb334820 100644 --- a/port/rt-thread/main.py +++ b/port/rt-thread/main.py @@ -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()