#include <NetLighthouseLamp.h>
Inherits ManagedObject.
◆ NetLighthouseLamp()
NetLighthouseLamp::NetLighthouseLamp |
( |
| ) |
|
|
protected |
◆ ~NetLighthouseLamp()
virtual NetLighthouse::NetLighthouseLamp::~NetLighthouseLamp |
( |
| ) |
|
|
inlinevirtual |
◆ getInstance()
◆ getLampState()
.getLampState Return the lamp enable pin state.
- See also
- setLampState()
- Parameters
-
deviceID | the identifier of the device as returned by getDeviceIDs. |
errorCode | see LHErrorCode. |
- Returns
- "on" if the light source is turned on, "off" if the light source is turned off or on error.
◆ setLampState()
void NetLighthouseLamp::setLampState |
( |
unsigned int | deviceID, |
|
|
int % | errorCode, |
|
|
net_lh_enable_state_t | state ) |
|
virtual |
.setLampState Set the lamp enable pin to turn the connected light source on or off.
- See also
- getLampState()
- Parameters
-
deviceID | the identifier of the device as returned by getDeviceIDs. |
errorCode | see LHErrorCode. |
state | "on" to turn the light source on, "off" to turn the light source off. |
◆ lamp
The documentation for this class was generated from the following files: