Browse Source

Change LED pattern to make it less intrussive

fastled
Xose Pérez 7 years ago
parent
commit
9e9ca87e62
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      code/espurna/led.ino

+ 2
- 2
code/espurna/led.ino View File

@ -49,9 +49,9 @@ void ledBlink(unsigned char id, unsigned long delayOff, unsigned long delayOn) {
void showStatus() { void showStatus() {
if (wifiConnected()) { if (wifiConnected()) {
if (WiFi.getMode() == WIFI_AP) { if (WiFi.getMode() == WIFI_AP) {
ledBlink(0, 2000, 2000);
ledBlink(0, 2500, 2500);
} else { } else {
ledBlink(0, 5000, 500);
ledBlink(0, 4900, 100);
} }
} else { } else {
ledBlink(0, 500, 500); ledBlink(0, 500, 500);


Loading…
Cancel
Save