Micro:bit

Lesson 1

Getting Started

Click on 'Let's Code'

Click on 'Try the PXT beta'

Plug your Micro:bit into the computer

Your First Micro:bit Program

  1. Make a program like this
  2. Name your program and click the save button
  3. Click download
  4. Drag the program onto the Micro:bit drive

Try these blocks

Dice

Now try and make a dice. Make it so that when you shake the micro:bit it will show a number from 1 to 6.

 

Tip: You will need to use the 'pick random 0 to ?' block in the Math tab.

 

Challenge: Make it so that it shows the picture that would appear on a real dice.

Frustration

Now you are going to make a program that works with a frustration game. You are going to need this to check if the player has touched the wire:

 

 

 

 

 

Challenges:

  • Make it so you get 3 lives.
Made with Slides.com