2022-04-13 12:03:10 +08:00

28 lines
426 B
Python

import PikaStdLib
import PikaStdData
import GTestTask
import PikaMath
import PikaStdDevice
import PikaDebug
import PikaStdData
pkdb = PikaDebug.Debuger()
io =PikaStdDevice.GPIO()
mem = PikaStdLib.MemChecker()
class Test():
x = 1
def hi(self):
print('hi' + str(self.x))
test = Test()
test.hi()
def todo1():
test.hi()
mem.max()
print('hello')
task = GTestTask.Task()
task.call_period_ms(todo1, 500)