Summer Sale: 5% OFF Over $49, Code: Elephant5; 10% OFF Over $99, Code:Elephant10



Micro:bit Smart Robot Tutorial 1.7 Lesson 7 “Dice game”

Posted by SunFiona on

1.Learning goals

image.pngimage.pngimage.png 

image.pngimage.pngimage.png 

After downloading the program, shake a roll of micro:bit. There are 1-6 points randomly appearing on the dot matrix, which is exactly the same as playing the dice. You can call your buddy to play this game, see who points out relatively large

2.Preparation

Hardware:

●  Micro: bit Board X1 

●  Micro USB Cable X1 

●  AAA batteries X2

Then the micro:bit is connected to the computer through USB, and the computer will pop up a U disk and click the URL in the U disk to enter the programming interface.

3.Search for blocks

image.png 

image.png 

image.png 

image.png 

image.png 

image.png 

image.png 

image.png 

4.Combine blocks

image.png 

image.png 

The code of the experiment: Lesson 7 Dice game.rar

0 comments

Leave a comment

Please note, comments must be approved before they are published