8 years, 5 months ago.

pin of RGB and number of colors

what kind of RGB did you use ?? 2-pins? how many bits ? what is the number of colors you can use ?

Question relating to:

simple RGB led library color, led, rgb

1 Answer

8 years, 5 months ago.

Hi Andreas,

I updated the documentation and added an example. Please checkout https://developer.mbed.org/users/sillevl/code/RGB-fun/ The library can control any RGB led that is directly connected to the mbed using the PWM output pins. Each subcolor has an 8-bit value to control the subcolor brightness (255 different dim levels). In total the RGB led supports 24-bit colors, enabling 16777216 different colors.

I hope this answers your questions. I you have any questions left, don't hesitate to ask.