Playing with the Big colored LED


Can anyone show me how I can change the color of the light of the main LED using code.


RGB.control(true); #enable control over LED
RGB.color(“red value”, “green value”, “blue value”); #color values
RGB.control(false); #disable control over LED

I’m having some troubles opening the page on my iPad, but the documentation is there under “Core firmware reference”. This can also be found on GitHub; If you scroll down a bit, you’ll find the section about the RGB LED.
Good luck, and enjoy!


Here is a direct link to the documentation on the RGB library to control that blinding LED on the Core. It’s every bit as simple as @Moors7 posted!

1 Like