DFRobot ROB0156-B Les - Pagina 7

Blader online of download pdf Les voor {categorie_naam} DFRobot ROB0156-B. DFRobot ROB0156-B 8 pagina's.

After the code is downloaded to micro: bit, pointing the infrared remote control to
the infrared receiver of Maqueen, holding the Up Triangle and the Down Triangle
respectively, and the beetle pincers will grasp and release continuously.
3. IR Remote control of the Maqueen Mechanic- Beetle
In the two programs above, we have controlled the movement of the beetle
pincers separately. The example below is a comprehensive program.
It uses the infrared remote control to enable the Maqueen move forward and
backward and the pincers grasp and release.
Code URL:
https://makecode.microbit.org/_D3bFyhgyYT7A
The code is shown as below:
7
/ 8