As you may have noticed, we also have 0, 1, 2, 3v and GND.
0 and GND are for our speaker (coming up shortly), 3v is for extra power, but 1 and 2? Let’s use them.
Search for the block below, in ‘Input’
Let’s assign a G to P1 and an A to P2.
Eventually, your code should look like the one below
Now, before we upload it, please test it by clicking on RUN and then interacting with the image of the micro:bit
Does it all work? Then you are ready for the next step!
[button style=”medium” type=”rounded” color=”#COLOR_CODE” background=”#COLOR_CODE” src=”https://conductivemusic.uk/shine4c/” target=”_blank”]Let’s Upload[/button]