JBWOPR
|
Functions | |
Adafruit_NeoPixel * | JBWoprDevice::getDefconLeds () |
Get DEFCON LEDs. | |
virtual void | JBWoprDevice::defconLedsSetState (bool state) |
Set DEFCON state. | |
virtual void | JBWoprDevice::defconLedsSetBrightness (uint8_t brightness) |
Set DEFCON LED's brightness level. | |
virtual void | JBWoprDevice::defconLedsSetDefconLevel (JBDefconLevel level) |
Set DEFCON level. | |
virtual void | JBWoprDevice::defconLedsSetColor (uint32_t color) |
Set all DEFCON LED's color. | |
virtual void | JBWoprDevice::defconLedsClear () |
Clear all DEFCON LEDs. | |
virtual void | JBWoprDevice::defconLedSetColor (JBDefconLevel level, uint32_t color) |
Set individual DEFCON LED's color. | |
virtual void | JBWoprDevice::defconLedSetDefconStateColor (JBDefconLevel level, uint32_t color) |
Set color for a DEFCON level. | |
void | JBWoprMqttDevice::defconLedsSetState (bool state) override |
DEFCON LEDs set state. | |
void | JBWoprMqttDevice::defconLedsSetDefconLevel (JBDefconLevel level) override |
DEFCON LEDs set DEFCON level. | |
void | JBWoprMqttDevice::defconLedsSetColor (uint32_t color) override |
DEFCON LEDs set color. | |
void | JBWoprMqttDevice::defconLedsSetBrightness (uint8_t brightness) override |
DEFCON LEDs set brightness. | |
void | JBWoprMqttDevice::defconLedSetColor (JBDefconLevel level, uint32_t color) |
Set color of a specified DEFCON LED. | |
|
virtual |
Set individual DEFCON LED's color.
level | DEFCON level LED |
color | Color value |
Reimplemented in JBWoprMqttDevice.
|
virtual |
Set color of a specified DEFCON LED.
This method will set the color of a specified DEFCON LED. It will also publish the color to the MQTT broker.
level | DEFCON level |
color | Color |
Reimplemented from JBWoprDevice.
|
virtual |
Set color for a DEFCON level.
level | DEFCON level |
color | Color value |
|
virtual |
Set DEFCON LED's brightness level.
brightness | Brightness value, 0 - 100 |
Reimplemented in JBWoprMqttDevice.
|
overridevirtual |
DEFCON LEDs set brightness.
This method will set the brightness for the DEFCON LEDs. It will also publish the brightness to the MQTT broker.
brightness | Brightness |
Reimplemented from JBWoprDevice.
|
virtual |
|
overridevirtual |
DEFCON LEDs set color.
This method will set the color for the DEFCON LEDs. It will also publish the color to the MQTT broker.
color | Color |
Reimplemented from JBWoprDevice.
|
virtual |
|
overridevirtual |
DEFCON LEDs set DEFCON level.
This method will set the DEFCON level for the DEFCON LEDs. It will also publish the DEFCON level to the MQTT broker.
level | DEFCON level |
Reimplemented from JBWoprDevice.
|
virtual |
Set DEFCON state.
state | True to turn DEFCON LEDs on, false to turn them off |
Reimplemented in JBWoprMqttDevice.
|
overridevirtual |
DEFCON LEDs set state.
This method will set the state for the DEFCON LEDs. It will also publish the state to the MQTT broker.
state | State |
Reimplemented from JBWoprDevice.
Adafruit_NeoPixel * JBWoprDevice::getDefconLeds | ( | ) |
Get DEFCON LEDs.