diff --git a/firmware/AmbiSensor/led.h b/firmware/AmbiSensor/led.h index fdcbee3..cb3c2d8 100644 --- a/firmware/AmbiSensor/led.h +++ b/firmware/AmbiSensor/led.h @@ -12,6 +12,8 @@ uint16_t led_am; void led_init() { leds = (CRGB *)malloc(sizeof(CRGB)); cled = &FastLED.addLeds(leds, 0).setCorrection(TypicalLEDStrip); + + FastLED.setDither(0); //от морганий на низкой яркости } uint16_t led_amount() { @@ -27,4 +29,4 @@ void led_change() { void led_show() { cled->showLeds(data.led_br); -} \ No newline at end of file +}