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.

1.gif

 

2. Add a Control block repeat until () and a Sensing block touchpad () is touched?. Keep the default touchpad0.

2.gif

 

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

Download code


Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.