(Example 1) Controlling a Single LED

circle-check

Example Code

(Example) Turn on LED #0 with R: 200, G: 100, B: 100


🔔 Block Explanation

1. [ Set num ( ) LED as RGB : ( ) ] Block

  • This block is used to set R, G, and B values for a specific LED position.

(1-1) Setting Custom R, G, B Values

  • Users can manually input values between 0 and 255 for R, G, and B.

(1-2) Using Predefined Colors

  • Instead of manually entering values, users can choose from preset color values.


2. [ LED On ] Block

  • This block activates the LED with the assigned color settings.


⚠️Important Notes

  • Only blocks listed under the [Start] block in the Event Block category will be executed.

  • If the [LED On] block is missing, the LED will not turn on.

Last updated