Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nmtoblum committed Jan 5, 2020
1 parent fb65022 commit 9374553
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
#include <WS2812FX.h>

// Global settings
#define NUMLEDS 7 // number of LEDs on the strip
#define DATAPIN D1 // GPIO pin used to drive the LED strip
#define NUMLEDS 7 // number of LEDs on the strip
#define DATAPIN D1 // GPIO pin used to drive the LED strip
#define STATUS_PIN LED_BUILTIN // User builtin LED for status
#define DEFAULT_POLLING_PRESENCE_INTERVAL 15 // Default interval to poll for presence info (seconds)
#define DEFAULT_ERROR_RETRY_INTERVAL 30 // Default interval to try again after errors
Expand Down Expand Up @@ -76,7 +76,6 @@ IotWebConfParameter paramNumLeds = IotWebConfParameter("Number of LEDs", "numLed
BearSSL::WiFiClientSecure client;

// WS2812FX

WS2812FX ws2812fx = WS2812FX(NUMLEDS, DATAPIN, NEO_GRB + NEO_KHZ800);

// Global variables
Expand Down

0 comments on commit 9374553

Please sign in to comment.