added periodic resending, free memory readout, rgb callibration.
This commit is contained in:
@ -85,7 +85,7 @@ uint16_t WirelessRelay::getId()
|
||||
|
||||
bool WirelessRelay::getExpectedState()
|
||||
{
|
||||
return _state;//_state;
|
||||
return _state;
|
||||
}
|
||||
|
||||
char* WirelessRelay::getName()
|
||||
@ -104,6 +104,11 @@ void WirelessRelay::init( const uint16_t id, char nameIn[])
|
||||
_id=id;
|
||||
}
|
||||
|
||||
void WirelessRelay::resend()
|
||||
{
|
||||
_state ? on() : off();
|
||||
}
|
||||
|
||||
WirelessRelay::WirelessRelay(const uint16_t id, char nameIn[])
|
||||
{
|
||||
init(id, nameIn);
|
||||
|
Reference in New Issue
Block a user