Added homeSpan.setStatusDevice()
Allows any Blinkable class to be used as the Status LED
This commit is contained in:
parent
56a46b5fdb
commit
9ef9a590da
|
|
@ -300,6 +300,8 @@ class Span{
|
|||
statusDevice=((new Pixel(pin))->setOnColor(Pixel::HSV(h,s,v)));
|
||||
}
|
||||
|
||||
void setStatusDevice(Blinkable *sDev){statusDevice=sDev;}
|
||||
|
||||
void setApSSID(const char *ssid){network.apSSID=ssid;} // sets Access Point SSID
|
||||
void setApPassword(const char *pwd){network.apPassword=pwd;} // sets Access Point Password
|
||||
void setApTimeout(uint16_t nSec){network.lifetime=nSec*1000;} // sets Access Point Timeout (seconds)
|
||||
|
|
|
|||
Loading…
Reference in New Issue