diff --git a/nostrZapLamp/100_config.ino b/nostrZapLamp/100_config.ino index 4399a49..616ea73 100644 --- a/nostrZapLamp/100_config.ino +++ b/nostrZapLamp/100_config.ino @@ -1,5 +1,5 @@ void configOverSerialPort() { - Serial.println("Launching configOverSerialPort"); + Serial.println("Putting device into web serial configration mode."); executeConfig(); } diff --git a/nostrZapLamp/nostrZapLamp.ino b/nostrZapLamp/nostrZapLamp.ino index 14587e9..26788cf 100644 --- a/nostrZapLamp/nostrZapLamp.ino +++ b/nostrZapLamp/nostrZapLamp.ino @@ -618,7 +618,8 @@ void setup() { bool triggerConfig = false; int timer = 0; - Serial.println("Should we trigger web serial config?"); + Serial.println("Should we put the device into web serial configuration mode?"); + Serial.println("To trigger config mode, touch pin (GPIO " + String(portalPin) + ") or hold the button (GPIO " + String(buttonPin) + ") and reset the device."); Serial.println("Touch pin (GPIO " + String(portalPin) + ") value is " + String(touchRead(portalPin))); Serial.println("Button pin (GPIO " + String(buttonPin) + ") value is " + String(digitalRead(buttonPin))); @@ -635,10 +636,10 @@ void setup() { timer = 5000; } - timer = timer + 100; delay(150); analogWrite(ledPin, 0); delay(150); + timer = timer + 300; } readFiles(); // get the saved details and store in global variables