Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 1 month 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:
1 Answer
9 years, 1 month 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.