Constructor and Description |
---|
LedLight() |
Modifier and Type | Method and Description |
---|---|
boolean |
close()
关闭LED灯
Switch off LED |
static LedLight |
getInstance()
获取LED灯操作实例
Acquire LED operation example |
boolean |
isPowerOn() |
boolean |
open()
打开LED灯
Switch on LED |
public static LedLight getInstance()
public boolean open()
public boolean close()