Velleman VMM005 Mode D'emploi page 5

Table des Matières

Publicité

Les langues disponibles
  • FR

Les langues disponibles

  • FRANÇAIS, page 12
VMM005
Screw the Power:bit and micro:bit boards together. Do the same for pins 1, 2 and 3V.
Place the batteries into their battery holder. Switch on the board.
9.
Programming
Create a demo code to test the Power:bit, the micro:bit and the buzzer. Go to
www.makecode.com
and click
the micro:bit button.
Place the blocks as below:
Drag and drop the [show icon] block in the [on start] block. They will snap together when correct. Select the
[happy] icon. Now, drag and drop the [show string] block under the [show icon] block. They will also snap
together. Type the text [Lets play a melody, please shake!].
Make a second block. Drag and drop the [on shake] block under the [on start] block. Drag and drop the [show
icon] block in the [on shake] block and set the icon to [Yes]. Drag and drop the [start melody – ode – repeating
– one] block under the [show icon] block. Set the melody on [ode]. Drag and drop the last [show icon] block
under the [start melody] block and set the icon to [Surprised].
V. 02 – 13/03/2019
5
©Velleman nv

Publicité

Table des Matières
loading

Table des Matières