8.48. SmartLoong 模块 API 文档

8.48.1. API

8.48.1.1. class LED(TinyObj):

def __init__():...
def setId(id:int):...
def enable():...
def on():...
def off():...

8.48.1.2. class KEY(TinyObj):

def __init__():...
def setId(id:int):...
def enable():...
def read()->int:...

8.48.2. Examples