updated LHM lib

This commit is contained in:
2026-02-18 12:58:24 +01:00
parent 42e49b6c06
commit b4be9d2faf
15 changed files with 54 additions and 1 deletions

View File

@@ -92,7 +92,7 @@ const uint8_t BRIGHTNESS_MIN_VISIBLE = 33;
// Lighting (FastLED)
// -------------------------------
#define LED_PIN 23
#define NUM_LEDS 20
#define NUM_LEDS 27
// -------------------------------
// Connection state machine

View File

@@ -153,6 +153,7 @@ void coreInit() {
// FastLED init
FastLED.addLeds<WS2812B, LED_PIN, GRB>(leds, NUM_LEDS);
FastLED.setBrightness(255); // full brightness; HSV V controls actual output
FastLED.setMaxPowerInMilliWatts(1500); // limit to 1.5W of power draw from the LEDs
// Apply lighting immediately at boot
applyLighting();