DFRobot Maqueen Mechanic-Beetle 튜토리얼 - 페이지 6

{카테고리_이름} DFRobot Maqueen Mechanic-Beetle에 대한 튜토리얼을 온라인으로 검색하거나 PDF를 다운로드하세요. DFRobot Maqueen Mechanic-Beetle 8 페이지.

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