-MR. LOCKE'S WEBSITE-
  • Grade 6
    • Ignition
    • Lego WeDo
    • Makey Makey
    • Minecraft
    • PowerPoint
    • Scratch
    • Sketchup
    • Studio
  • Grade 7
    • Coding Puzzles
    • Makey Makey
    • mBot
    • Micro:bit
    • Minecraft
    • Photoshop
    • PowerPoint
    • Scratch
    • Sketchup
  • Grade 8

mBot

Picture


​STAGE 2
Playing Music


Your mBot has a buzzer, which means that it can also play sounds/music.

You need to keep (or rewrite) your code from the previous stage because we still want your mBot to be able to move around. However, you're now going to program your mBot to play music as well.

Program your mBot to play a series of beeps whenever the space bar is pressed. Make it sound musical; the catchier it is, the better. The mBot is able to play notes from a variety of octaves and those notes can be held for different lengths of time. See the blocks below:
Picture
Picture

​Extra Challenge (if you're up for it):
Decide on a song (ex: Twinkle Twinkle Little Star, Row Row Row Your Boat, etc.) and then use Google to find the notes to that song. Then, once you know the correct notes, try to program them into your code.

Picture

​Show Mr. Locke that you have successfully completed this stage and then you can move on to the next one.
Next
Picture
Picture
email Mr. Locke
  • Grade 6
    • Ignition
    • Lego WeDo
    • Makey Makey
    • Minecraft
    • PowerPoint
    • Scratch
    • Sketchup
    • Studio
  • Grade 7
    • Coding Puzzles
    • Makey Makey
    • mBot
    • Micro:bit
    • Minecraft
    • Photoshop
    • PowerPoint
    • Scratch
    • Sketchup
  • Grade 8