# SmartLoong 模块 API 文档 ## API ### class LED(TinyObj): ``` python def __init__():... ``` ``` python def setId(id:int):... ``` ``` python def enable():... ``` ``` python def on():... ``` ``` python def off():... ``` ### class KEY(TinyObj): ``` python def __init__():... ``` ``` python def setId(id:int):... ``` ``` python def enable():... ``` ``` python def read()->int:... ``` ## Examples