Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGB Caselight #20341

Merged
merged 11 commits into from
Feb 27, 2021
Merged

RGB Caselight #20341

merged 11 commits into from
Feb 27, 2021

Conversation

LinFor
Copy link
Contributor

@LinFor LinFor commented Dec 1, 2020

Description

This proposal improves the use of RGB and RGBW LEDs in addition to white LEDs to illuminate the working chamber.
In this case, color channels are used to indicate the status (PRINTER_EVENT_LEDS), and white - for the main backlight.
At the same time, in cases where the backlighting is unnecessary (night printing, etc.), disabling CASE_LIGHT through menu also turns off the colored backlighting of the case, but leaves status indication on other channels (in my case, via FYSETC_MINI_12864_2_1, which has a NeoPixel on board).
Also, to improve support for the same FYSETC_MINI_12864_2_1, in which one of the NeoPixel plays the role of screen backlight (and, accordingly, when it is turned off, the screen becomes non-usable), the NEOPIXEL_BKGD_ALWAYS_ON directive has been added, which prohibits turning off the backlight LED.

Benefits

Improves lighting usability

Configurations

Two new configuration defines:

  • RGB_LED_IS_CASE_LIGHT - to sync RGB_LED/RGBW_LED with CASE_LIGHT status
  • NEOPIXEL_BKGD_ALWAYS_ON - to prohibit turning off the backlight LED

Related Issues

None

thinkyhead added a commit to MarlinFirmware/Configurations that referenced this pull request Jan 29, 2021
@thinkyhead thinkyhead merged commit e0aa9ce into MarlinFirmware:bugfix-2.0.x Feb 27, 2021
vyacheslav-shubin pushed a commit to vyacheslav-shubin/Marlin that referenced this pull request Mar 10, 2021
vyacheslav-shubin pushed a commit to vyacheslav-shubin/Marlin that referenced this pull request Mar 10, 2021
W4tel-BiDi pushed a commit to W4tel-BiDi/Marlin that referenced this pull request Apr 5, 2021
thinkyhead pushed a commit that referenced this pull request Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants