# light\_if.h ## **概述** **所属模块:** [Light](_light.md) ## **汇总** ## 类

描述

LightInterface

定义可以在灯上执行的基本操作。 更多...

## 函数

函数

描述

NewLightInterfaceInstance (void)

创建LightInterface实例。 更多...

FreeLightInterfaceInstance (void)

释放LightInterface实例和相关资源。 更多...

## **详细描述** 声明light模块的通用API,可用于获取灯ID、打开或关闭灯、并设置灯光亮度和闪烁模式。 **Sinc[更多...](_light_flash_effect.md)e更多...[更多...](_light_info.md):** 3.1