Télécharger Imprimer la page

Velleman VMM501 Mode D'emploi page 22

Publicité

Les langues disponibles
  • FR

Les langues disponibles

  • FRANÇAIS, page 53
Have a look at the code below.
1.
Drag and drop the code blocks to form the code as shown.
You can find the
Drawer. You can find the
Drawer.
2.
Set the first
select the corresponding piano key.
You will also hear the corresponding tone.
3.
Set the
4.
Do so for the rest of the ring tones and pauses.
5.
When complete, we compile the programme and generate a hex. file. Click
on the download button and save the hex. file to the Downloads folder 
C:\downloads. This hex. file is ready to upload to the micro:bit.
Plug the micro:bit into a USB port. The, drag and drop the hex. file onto the
micro:bit removable device to upload the programme.
We can hear a sound from the buzzer. Now, how would you programme your favourite nursery rhyme?
V. 01 – 17/01/2019
VMM501
forever
and
pause (ms)
ring tone (Hz)
ring tone (Hz)
to middle C. To do so, click the text box and
pause
to 100 ms.
22
100 in
Basic
in the Code
block in
Music
in the Code
©Velleman nv

Publicité

loading