diff --git a/Arduino/McLighting/McLighting.ino b/Arduino/McLighting/McLighting.ino index 6f32b19..07efc5e 100644 --- a/Arduino/McLighting/McLighting.ino +++ b/Arduino/McLighting/McLighting.ino @@ -114,8 +114,8 @@ void setup() { // *************************************************************************** strip.init(); strip.setBrightness(brightness); - strip.setSpeed(200); - strip.setMode(FX_MODE_RAINBOW_CYCLE); + strip.setSpeed(ws2812fx_speed); + //strip.setMode(FX_MODE_RAINBOW_CYCLE); strip.start(); // *************************************************************************** diff --git a/Arduino/McLighting/definitions.h b/Arduino/McLighting/definitions.h index 44687d0..18bb514 100644 --- a/Arduino/McLighting/definitions.h +++ b/Arduino/McLighting/definitions.h @@ -1,6 +1,6 @@ // Neopixel #define PIN 5 // PIN where neopixel / WS2811 strip is attached -#define NUMLEDS 24 // Number of leds in the strip +#define NUMLEDS 60 // Number of leds in the strip #define HOSTNAME "ESP8266_02" // Friedly hostname @@ -16,7 +16,7 @@ enum MODE { SET_MODE, HOLD, OFF, ALL, WIPE, RAINBOW, RAINBOWCYCLE, THEATERCHASE, MODE mode = RAINBOW; // Standard mode that is active when software starts -int ws2812fx_speed = 128; // Global variable for storing the delay between color changes --> smaller == faster +int ws2812fx_speed = 10; // Global variable for storing the delay between color changes --> smaller == faster int brightness = 192; // Global variable for storing the brightness (255 == 100%) int ws2812fx_mode = 0; // Helper variable to set WS2812FX modes diff --git a/clients/web/build/index.htm b/clients/web/build/index.htm index a69c4c7..224b56c 100644 --- a/clients/web/build/index.htm +++ b/clients/web/build/index.htm @@ -4,16 +4,17 @@ - + + McLighting v2 - +