Coding a BeatBox with Micro:Bit #STEAM

0
Coding a BeatBox with Micro:Bit #STEAM
Tweet about this on TwitterShare on FacebookPin on PinterestShare on LinkedInShare on Google+Share on TumblrEmail this to someoneShare on StumbleUponShare on RedditDigg this

In this challenge we are going to code a simple script that plays sounds based on inputs to the Micro:Bit.

 

 

Our sounds will be triggered by the Pins and input buttons A and B. We will display different LED light patterns corresponding to each input to give an equalizer feel. We will use alligator clips to connect to a speaker. Below is the source code:

 

screen-shot-2016-09-08-at-11-24-00-am

Here is the final demo:

What can you create?

 

Tweet about this on TwitterShare on FacebookPin on PinterestShare on LinkedInShare on Google+Share on TumblrEmail this to someoneShare on StumbleUponShare on RedditDigg this
(Visited 149 times, 1 visits today)

Leave a Reply

Name
Name*
Email
Email *
Website
Website