Press the Button to play LED Animation "Meteor"
The programmable button of HaloCode has plenty of usage scenarios, such as activating a script. The four touchpads of HaloCode can report whether it is being touched via the change in capacitance.
1. Drag an Events blockand a Lighting block to the Scripts area. Choose LED animation "meteor". When we press the button of HaloCode, the LED animation "meteor" will be played.
2. Add a Control blockand a Sensing block . Keep the default touchpad0.
3. Try pressing the button of HaloCode and then touch touchpad0.