mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
25 lines
413 B
Python
25 lines
413 B
Python
class LED(TinyObj):
|
|
def on():
|
|
pass
|
|
def off():
|
|
pass
|
|
|
|
class Uart(TinyObj):
|
|
def send(data:str):
|
|
pass
|
|
def setName(name:str):
|
|
pass
|
|
def printName():
|
|
pass
|
|
class MemoryChecker(TinyObj):
|
|
# check memory used now
|
|
def now():
|
|
pass
|
|
# check memory used max
|
|
def max():
|
|
pass
|
|
|
|
class MyRoot(SysObj):
|
|
LED()
|
|
MemoryChecker()
|
|
Uart() |