Change filter value
This commit is contained in:
@@ -189,6 +189,9 @@ void loop() {
|
||||
// mqttClient.publish(TOPIC"/movesec", 0, false, v);
|
||||
// itoa(mvDelaySet, v, 10);
|
||||
// mqttClient.publish(TOPIC"/movesecset", 0, false, v);
|
||||
char s[20];
|
||||
sprintf(s, "MDel=%d,move=%d", mvDelay, digitalRead(MOV_SENS));
|
||||
WebSerial.println(s);
|
||||
if(mvDelay == 0) {
|
||||
g_led.start();
|
||||
mqttClient.publish(TOPIC"/move", 1, false, "0");
|
||||
|
||||
Reference in New Issue
Block a user