- 1. RGB LED [index] lights up [color_2] for [number_3]secs
- 2. RGB LED [index] lights up [color_2]
- 3. RGB LED [index] sets color to R: [r] G: [g] B: [b]
- 4. RGB LED [index] lights off
- 5. RGB LED [index] sets [color]value to [value]
- 6. RGB LED [index] changes [color] value by [value]
- 7. RGB LED [index]’s [color] value
1. RGB LED [index] lights up [color_2] for [number_3]secs
Lights up the specified RGB LED in the specified color for the specified period of time
How to Use
The number in this block indicates the place of an RGB LED among the ones connected to Halocode. As shown in the following figure, the number 1 indicates the first RGB LED connected to Halocode, 2 indicates the second one, and so on.
Click to set the color and time.
Example
When you press the space key, the first RGB LED connected to Halocode is lit up in red for one second.
2. RGB LED [index] lights up [color_2]
Lights up the specified RGB LED in the specified color
How to Use
Example
When you press the space key, the first RGB LED connected to Halocode is lit up in red.
3. RGB LED [index] sets color to R: [r] G: [g] B: [b]
Lights up the specified RGB LED in the color that is the combination of the specified intensity of red, green, and blue
How to Use
Click to set the color values.
R: red
G: green
B: blue
Setting range of R, G, or B: 0–255
Example
When you press the space key, the first RGB LED connected to Halocode is lit up in red.
4. RGB LED [index] lights off
Turns off the specified RGB LED
How to Use
Click to select the RGB LED to be turned off from the drop-down list box.
Example
When you press the space key, the first RGB LED connected to Halocode goes off.
5. RGB LED [index] sets [color]value to [value]
Lights up the specified RGB LED in the specified color of the specified intensity
How to Use
Click to select the color and set its intensity.
R: red
G: green
B: blue
Setting range of the color: 0–255
Example
When you press the space key, the first RGB LED connected to Halocode is lit up in red.
6. RGB LED [index] changes [color] value by [value]
Changes the intensity of the specified color of the specified RGB LED
How to Use
Click to set the color and the amount by which its intensity is to be changed. A positive value indicates increasing the intensity, and a negative one indicates decreasing the intensity.
R: red
G: green
B: blue
Intensity range of a color: 0–255
Example
When you press the space key, the first RGB LED connected to Halocode is lit up in red, and then the color becomes lighter and lighter.
7. RGB LED [index]’s [color] value
Reports the intensity of the specified color of the specified RGB LED
How to Use
Click to select the RGB LED and color from the drop-down list boxes.
R: red
G: green
B: blue
You can select the check box on the left of this block to see the intensity of the color on the stage.
Note: This is a reporter block that must be used in combination with another block requiring data.
Example
When you press the space key, the first LED matrix connected to Halocode displays the intensity of the red color of the first RGB LED.
Note: Ensure that you have connected an LED matrix to Halocode.