Color Mixer

Change the color of the LED ring by RGB values. We'll use touchpad 0, 1, and 2 to control each of the values.

Introduction to HaloCode's touchpads

HaloCode has four touchpads.

Toggle on Upload mode

Click to toggle on Upload mode

Program touchpads

1. Drag an Events block when HaloCode starts up to the Scripts area,and then add a Control block forever。

2. Add a Lighting block light up all LEDs with color R()G()B()and three Sensing blocks touchpad () value. Choose touchpad 0, 1, and 2

3. Upload the program

Last updated