Compare commits

..

2 Commits

Author SHA1 Message Date
Daan Meijer
d66db88652 correct rotary encoder pins for pcb 2025-03-07 23:40:35 +01:00
Daan Meijer
9204e49e87 rgbww support 2025-03-07 23:20:30 +01:00
2 changed files with 4 additions and 4 deletions

View File

@ -3,8 +3,8 @@
#include <Arduino.h> #include <Arduino.h>
#define PIN_A 2 #define PIN_A 2
#define PIN_B 3 #define PIN_B 1
#define PIN_KEY 4 #define PIN_KEY 0
#define KEY_DURATION_MS 150 #define KEY_DURATION_MS 150

View File

@ -123,8 +123,8 @@ void Led_setup(){
// analogWriteRange(255); // analogWriteRange(255);
#ifdef LED_FASTLED #ifdef LED_FASTLED
FastLED.addLeds<WS2812B, PIN_STRIP1, GRB>(strip2, NUM_LEDS); FastLED.addLeds<WS2812B, PIN_STRIP1, GRB>(strip2, NUM_LEDS).setRgbw(RgbwDefault());
FastLED.addLeds<WS2812B, PIN_STRIP2, GRB>(strip2, NUM_LEDS); FastLED.addLeds<WS2812B, PIN_STRIP2, GRB>(strip2, NUM_LEDS).setRgbw(RgbwDefault());
strip1[0] = CRGB::Black; strip1[0] = CRGB::Black;
strip2[0] = CRGB::Black; strip2[0] = CRGB::Black;
#endif #endif