led, sensor, power

This commit is contained in:
2023-01-01 08:52:10 +01:00
parent aaa75c0c88
commit 59519e4f55
5 changed files with 111 additions and 42 deletions

View File

@@ -28,7 +28,7 @@ void SetLedColor(CRGB color, bool blink)
void initLed(void)
{
FastLED.addLeds<SK6812, LED_PIN, GRB>(leds, NUM_LEDS); // GRB ordering is typical
FastLED.setBrightness(40);
FastLED.setBrightness(20);
}
void handleLed(void)