Télécharger Imprimer la page

Velleman VMM501 Mode D'emploi page 20

Publicité

Les langues disponibles
  • FR

Les langues disponibles

  • FRANÇAIS, page 53
Finally, drag and drop the
number
You have written the code!
3.
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.
You will see the LED beads flash alternatively. Now, how would you display the temperature in degrees
Fahrenheit?
5.8
Servo
1x micro:bit board
1x micro:bit breadboard adapter
1x breadboard
1x mini servo
1x battery holder with 2x AA 1.5 V battery
We are going to make a servo rotate continuously within a
travel range (0-180°).
Place the necessary components on the breadboard as shown.
Have a look at the code below.
V. 01 – 17/01/2019
VMM501
tem
variable over the value 0 of the
block.
20
show
©Velleman nv

Publicité

loading