Skip to content

LED dimming and WS2812#303

Open
iHD992 wants to merge 1 commit intoducalex:devfrom
iHD992:feature/led-pwm
Open

LED dimming and WS2812#303
iHD992 wants to merge 1 commit intoducalex:devfrom
iHD992:feature/led-pwm

Conversation

@iHD992
Copy link
Copy Markdown

@iHD992 iHD992 commented Mar 22, 2026

The LED (RG_GPIO_LED) on my device was too bright, so I added "RG_GPIO_LED_DIMMING". If RG_GPIO_LED_DIMMING is defined, the brightness of the LED is tied to the LCD brightness using PWM.

My development board also has a WS2812 (set a control pin via "RG_GPIO_WS2812"). It displays the same information as the normal LED (disc activity: green, battery low: blinking red, status critical: white), but it also displays the battery status (way dimmer than the status; going from green (full) to red (empty)). Also works with "RG_GPIO_LED_DIMMING" (recommended).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant