Hi
Can anyone show me how I can change the color of the light of the main LED using code.
Thanks
Hi
Can anyone show me how I can change the color of the light of the main LED using code.
Thanks
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 http://docs.spark.io page on my iPad, but the documentation is there under “Core firmware reference”. This can also be found on GitHub; https://github.com/spark/docs/blob/master/docs/firmware.md 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!