espressif / idf-extra-components

Additional components for ESP-IDF, maintained by Espressif
143 stars 86 forks source link

Setting Brightness (IEC-63) #256

Closed ncpe20012003 closed 10 months ago

ncpe20012003 commented 10 months ago

Answers checklist.

General issue report

How to set the brightness for ws2812?

suda-morris commented 10 months ago

You can do it by scaling the RGB values of each LED by multiplying them by a factor between 0 and 1.