diff --git a/src/ebk_co2ampel.cpp b/src/ebk_co2ampel.cpp index 87e38e9..6b9f711 100644 --- a/src/ebk_co2ampel.cpp +++ b/src/ebk_co2ampel.cpp @@ -22,12 +22,12 @@ #define LED_PIN 4 // number of LEDs connected -#define NUMPIXELS 12 +#define NUMPIXELS 8 MHZ19 myMHZ19; HardwareSerial mySerial(1); SSD1306Wire display(0x3c, SDA_PIN, SCL_PIN); -Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, LED_PIN, NEO_RGB + NEO_KHZ400); +Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, LED_PIN, NEO_RGB + NEO_KHZ800); unsigned long getDataTimer = 0; int lastvals[120]; @@ -52,7 +52,7 @@ void setup() { pixels.begin(); for(int i=0; i