2022-04-11 18:40:52 +08:00

29 lines
452 B
Python

import PikaStdLib
import PikaStdData
import GTestTask
import PikaMath
import PikaStdDevice
import PikaDebug
import PikaStdData
pkdb = PikaDebug.Debuger()
list = PikaStdData.List()
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)