pikapython/test/python/std/stdtask.py
2022-10-25 13:47:15 +08:00

13 lines
186 B
Python

from GTestTask import Task
task = Task()
def test1():
print('test1')
def test2():
print('test2')
task.call_always(test1)
task.call_always(test2)
task.run_until_ms(1000)
exit()