DFRobot Maqueen Mechanic-Beetle Anleitung - Seite 6

Blättern Sie online oder laden Sie pdf Anleitung für Robotik DFRobot Maqueen Mechanic-Beetle herunter. DFRobot Maqueen Mechanic-Beetle 8 Seiten.

2. IR Remote control of the beetle
This example uses the infrared remote control to make the beetle pincers
to grasp and release. Each button of the infrared remote control is
corresponding to one key value.
Key
Red Key
VOL+
FUNC/STOP
Rwd
Pause/Play
Fwd
Down Triangle
VOL-
Up Triangle
0
EQ
ST/REPT
1
2
3
4
5
6
7
8
9
Key value table of infrared remote control
Now, let's program an example to control the angle of the beetle pincers by the
infrared remote control. The code is shown in the figure:
Key Value ( Decimal )
0
1
2
4
5
6
8
9
10
12
13
14
16
17
18
20
21
22
24
25
26
6
/ 8