Shrugsy / led-fireworks

Clap activated LED firework display for arduino-based microcontrollers
3 stars 2 forks source link

The Worm is working , How to do the firework? #3

Open kylinpoet opened 2 years ago

kylinpoet commented 2 years ago

Hello , thanks to this project , the code is cool!But from the code I couldn’t find how to do the firework ?Have I miss something? Thank for your work again!

Shrugsy commented 2 years ago

Glad to hear that you like it @kylinpoet

There is no specific code for the 'firework' portion - it just extends from the end of the worm and each segment of the fireworks is connected in parallel to the worm end. From the code's perspective, it still treats the whole thing as one continuous worm

kylinpoet commented 2 years ago

Oh! That's it, Thank you