This is a simple Python program for a BBC micro:bit microcontroller that plays a random melody in the key of CM (view content in browser to see code example). All you need for this program is a micro:bit and a power source. The program makes use of the music and random micro:bit libraries and chooses pitches from a defined list. Flash it to your micro:bit and give it a try!
0 Comments
Your comment will be posted after it is approved.
Leave a Reply. |
WELCOME TO
|