VMM500
V. 01 – 17/01/2019
17
©Velleman nv
At least, place a
pause
block under the
else
logic and set it to 100 (100 milliseconds).
When complete, we compile the program to 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 be uploaded to the micro:bit.
Plug the micro:bit into the USB port via the micro-USB cable. Then, drag and drop the .hex-file (from the
Downloads
folder) onto the micro:bit
Removable device
to upload the programme.
Ring:bit Car code
Drag and drop the blocks in the code drawer as shown below, and download this code into the second
micro:bit.
1.
Set the radio group. Keep the sender
and receiver the same.
2.
Set the pins for the servos.
3.
Save the received numbers into a
variable item.
4.
Judge the number received. 1 means
to
move forward
.
5.
2 means to
turn left
.
6.
3 means to
turn right
.
7.
Other means
to stop
.
8.
Download the programme into
micro:bit.
When complete, we compile the program to 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 be uploaded to the micro:bit.
Plug the second micro:bit into the USB port via the micro-USB cable. Then, drag and drop the .hex-file (from
the
Downloads
folder) onto the micro:bit
Removable device
to upload the programme for the remote
control.
Summary of Contents for VMM500
Page 11: ...VMM500 V 01 17 01 2019 11 Velleman nv Fix with the rivets Your car is now completed ...
Page 28: ...VMM500 V 01 17 01 2019 28 Velleman nv Bevestig met de klinknagels De montage is voltooid ...
Page 45: ...VMM500 V 01 17 01 2019 45 Velleman nv Fixer avec les rivets Le montage est prêt ...
Page 96: ...VMM500 V 01 17 01 2019 96 Velleman nv Zamocować nitami Samochód jest już gotowy ...
Page 113: ...VMM500 V 01 17 01 2019 113 Velleman nv Fixe com os rebites O seu carro está pronto ...