#include <StatusLight.h>
Definition at line 16 of file StatusLight.h.
◆ StatusLight()
StatusLight::StatusLight |
( |
Component * |
_owner, |
|
|
short |
_pin, |
|
|
short |
_id, |
|
|
short |
_addr |
|
) |
| |
|
inline |
Definition at line 19 of file StatusLight.h.
27 ModbusValue<int>(_addr, MB_FC::MB_FC_READ_REGISTERS),
28 Component(
"Status", _id, Component::COMPONENT_DEFAULT, _owner)
33 nFlags = SBI(nFlags, OBJECT_NET_CAPS::E_NCAPS_MODBUS);
34 setRegisterMode(MB_REGISTER_MODE::E_MB_REGISTER_MODE_READ_WRITE);
◆ debug()
short StatusLight::debug |
( |
| ) |
|
|
inline |
◆ info()
short StatusLight::info |
( |
| ) |
|
|
inline |
◆ loop()
short StatusLight::loop |
( |
| ) |
|
|
inline |
◆ off()
void StatusLight::off |
( |
| ) |
|
|
inline |
◆ on()
◆ onRegisterMethods()
short StatusLight::onRegisterMethods |
( |
Bridge * |
bridge | ) |
|
|
inline |
◆ set()
short StatusLight::set |
( |
short |
val0, |
|
|
short |
val1 = 0 |
|
) |
| |
|
inline |
◆ setBlink()
void StatusLight::setBlink |
( |
bool |
blink | ) |
|
|
inline |
◆ setup()
short StatusLight::setup |
( |
| ) |
|
|
inline |
◆ status_blink()
void StatusLight::status_blink |
( |
bool |
blink | ) |
|
|
inline |
◆ blink_start_ts
millis_t StatusLight::blink_start_ts |
◆ doBlink
bool StatusLight::doBlink |
◆ last_blink
bool StatusLight::last_blink |
◆ max_blink_time
millis_t StatusLight::max_blink_time |
◆ pin
◆ status_blink_TS
millis_t StatusLight::status_blink_TS |
The documentation for this class was generated from the following file: