Update src.ino
This commit is contained in:
parent
c67336ab57
commit
8b33f61464
|
|
@ -9,6 +9,8 @@ void setup() {
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
|
|
||||||
homeSpan.setLogLevel(1);
|
homeSpan.setLogLevel(1);
|
||||||
|
homeSpan.setStatusPin(5);
|
||||||
|
homeSpan.setControlPin(33);
|
||||||
|
|
||||||
homeSpan.setHostNameSuffix("-lamp1");
|
homeSpan.setHostNameSuffix("-lamp1");
|
||||||
homeSpan.setPortNum(1201);
|
homeSpan.setPortNum(1201);
|
||||||
|
|
@ -21,7 +23,7 @@ void setup() {
|
||||||
new SpanUserCommand('d',"- My Description",userCom1);
|
new SpanUserCommand('d',"- My Description",userCom1);
|
||||||
new SpanUserCommand('e',"- My second Description",userCom2);
|
new SpanUserCommand('e',"- My second Description",userCom2);
|
||||||
|
|
||||||
homeSpan.enableAutoStartAP();
|
// homeSpan.enableAutoStartAP();
|
||||||
// homeSpan.setApFunction(myWiFiAP);
|
// homeSpan.setApFunction(myWiFiAP);
|
||||||
|
|
||||||
homeSpan.begin(Category::Lighting,"HomeSpan Lamp Server","homespan");
|
homeSpan.begin(Category::Lighting,"HomeSpan Lamp Server","homespan");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue