Web viewUsing a button to play a tune. We will use the shake to play a tune on the microbit. See if...

Preview:

Citation preview

Using a button to play a tune

We will use the shake to play a tune on the microbit. See if you can tell what it is.

Challenge

1. See if you can play some other tunes. Here is the start of Happy Birthday. See if you can finish it

2. Here is Twinkle Twinkle Little Star

Some lines repeat. Use a ‘repeat 2 times’ loop to save you having to program the line twice

3. Here are some musical scores. See if you can program them to find out what they are. Use Repeat loops where you can

4. Get the microbit to play different tunes when you press A, B, A&B, shake

Answers

Recommended