Cloudio contains on-board RGB LED.
RGB LEDs consist of one red, one green, and one blue LED. By independently adjusting each of the three, these can produce a wide range of colors.
This block is used to control the on-board RGB LED and set it on at a desired color.
You can use the Swatches option to select from 9 colors besides the Off option.
Alternately, you can use the Custom option to set RGB values of your choice to create custom colours for the LED.
The LED once turned ON continues to be on till you turn it off. So, if you turn it on inside a conditional block, it does not automatically turn off when the condition ceases to be true; you’d need to set it off as part of the code in your project.
This example runs a loop where the LED continuously switches between red and green with a gap of 500 milliseconds between the two.