From e0adccce9441e04b9564dccc9c2783e49d01c2ba Mon Sep 17 00:00:00 2001 From: Michael Biermann Date: Sat, 14 Nov 2020 00:25:50 +0100 Subject: [PATCH] changed led bus to 800MHz --- src/ebk_co2ampel.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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