updated LHM lib
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user