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 block when button is pressed and a Lighting block play LED animation () until done 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 block repeat until () and a Sensing block touchpad () is touched?. Keep the default touchpad0.

3. Try pressing the button of HaloCode and then touch touchpad0.

Download code


results matching ""

    No results matching ""