RGB accent led on Proffieboard 2.2

I have got a RGB accent led common-anode wired up on Led 4 Led 5 Led 6 in order. How would I control the color on this configuration? I followed C setup in the manual. I see like number values on the example. Just if you can stear me in the right direction. Thanks .

This is mostly handled by your blade array at the bottom of your config. The line you need should look something like this:

SimpleBladePtr<CrystalRedLED<120000>, CrystalGreenLED<56000>, CrystalBlueLED<56000>, NoLED, bladePowerPin4, bladePowerPin5, bladePowerPin6, -1>(),

The three numbers are the resistor values you would need to wire to each channel. 120000 means 120 ohms, 56000 means 56 ohms. It depends on your LED as to what value resistors you need. You may need to add separate structs for your LEDs if the details aren’t in the OS, but most are.

This page might help explain the principles:

So the config you showed, will light up all three? I already have resistors on each color . Does that matter. Not sure iam understanding how to control each color when it’s on.

Accent LEDs are controlled the same way all LEDs are; with styles.

The stuff shown above is added to your blade array, that just tells ProffieOS how to control the LED, not what color to show on it. Each preset will then have a style for this LED, and that style specifies the color and behavior of the LED.

Ya I understand how the styles work on a blade. So basically if it’s a RGB led I’ll need to treat those separately in the styles. So If I want red and green for example then I’ll need bolth of those have a style and of course the blade are to show proffie what to use.

Once your blade array is good, just one style should be enough for the RGB LED. So one for your blade, one for your accent. I think that’s what is being said. Right?

It’s what I see in the configuration generator too.