Ring LED Brightness

Is there any way to control the brightness of the LED ring (or rail) output?

I’m quite familiar with LEDs and PWM, but never really gotten into these individually addressable ‘pixel’ LEDs or WLED. It seems their controller allows brightness changes depending on the commands sent down the bus?

I am using the ring output and a prefab ring module on my custom control panel for the SLB-EXT status, and it is somewhat excessively bright when pointed at my face :laughing: I don’t need any fancy dynamic dimming or anything, but it would be ideal to set a reduced, fixed brightness value if that is possible (I’m assuming the actual 5v bus isn’t PWM for brightness or it would mess with the controller chips, and thus ‘aftermarket’ resistors or otherwise would not work).

I did find the macro to change the ring colour:
... M356 P0 Q[nextLight % 3]

and it looks like there is an “RGB intensity” setting, so I guess it is a question of whether there is some eeprom value or setting to change that brightness. I suspect not, but the ‘building blocks’ are there I guess :sweat_smile: core/rgb.h at master · grblHAL/core · GitHub

There are no settings for brightness, however if the RGB LED strip control plugin is enabled defaults can be set at startup via M150 by adding to the $N0 and/or $N1 settings (startup commands) .

Thanks very much! That looks like a great option, but as far as I can tell the ‘stock’ plugin is not available in the SLB-EXT firmware I’m running. I can only find rgb.c triggered by M356 code (which apparently sets intensity to 10 if you enable DEBUG :sweat_smile:). I haven’t found any other reference to set_intensity in the entire repo, so I’m assuming there’s no way to set it currently without some firmware mods.