2022-01-20 22:24:08 +08:00

21 lines
341 B
Python

import PikaStdLib
import PikaStdDevice
import PikaStdData
import PikaStdTask
import PikaMath
from PikaObj import *
def todo1():
print('task 1 running...')
def todo2():
print('task 2 running...')
def todo3():
print('task 3 running...')
task = PikaStdTask.Task()
task.call_always(todo1)
task.call_always(todo2)
task.run_once()