-
Notifications
You must be signed in to change notification settings - Fork 0
/
keywords.txt
165 lines (147 loc) · 3.18 KB
/
keywords.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
#######################################
# Syntax Coloring DFRobot_Cosmo
#######################################
#######################################
# Datatypes (KEYWORD1)
#######################################
DFRobot_Cosmo KEYWORD1
Cosmo_URM10 KEYWORD1
Cosmo_Ws2812 KEYWORD1
Servo KEYWORD1
#######################################
# Methods and Functions (KEYWORD2)
#######################################
begin KEYWORD2
I2CWirte KEYWORD2
I2CRead KEYWORD2
servoMotorCtrl KEYWORD2
ws2812Set KEYWORD2
blinkLed KEYWORD2
rgbSet KEYWORD2
rgbGradualChange KEYWORD2
rgbBlink KEYWORD2
readPatrol KEYWORD2
readPatrolVoltage KEYWORD2
getLight KEYWORD2
getURM10 KEYWORD2
IRReceiveEnable KEYWORD2
IRReceive KEYWORD2
getBatteryData KEYWORD2
getVersion KEYWORD2
lineTraking KEYWORD2
lineSpeed KEYWORD2
BLEDefaultCmd KEYWORD2
BLEGetCmd KEYWORD2
getCross KEYWORD2
setCross KEYWORD2
motorSet KEYWORD2
motorStop KEYWORD2
motorTypeSet KEYWORD2
tone KEYWORD2
rgbSetOff KEYWORD2
#######################################
# Constants (LITERAL1)
#######################################
SLAVE_ADDR LITERAL1
MOTOR_0 LITERAL1
MOTOR_1 LITERAL1
SPEED_0 LITERAL1
SPEED_1 LITERAL1
SPEED_RECOVER_L LITERAL1
SPEED_RECOVER_R LITERAL1
RGB_L LITERAL1
RGB_R LITERAL1
RGB_BLINK_NUM_L LITERAL1
RGB_BLINK_GRADE_L LITERAL1
RGB_BLINK_NUM_R LITERAL1
RGB_BLINK_GRADE_R LITERAL1
RGB_GRADUAL_CHANGE_GRADE_L LITERAL1
RGB_GRADUAL_CHANGE_GRADE_R LITERAL1
BLACK_ADC_STATE LITERAL1
ADC_COLLECT_0 LITERAL1
ADC_COLLECT_1 LITERAL1
ADC_COLLECT_2 LITERAL1
ADC_COLLECT_3 LITERAL1
ADC_COLLECT_4 LITERAL1
LIGHTL_H LITERAL1
VERSON_LEN LITERAL1
VERSON_DATA LITERAL1
MY_SYS_INIT LITERAL1
LINE_WALKING LITERAL1
LINE_SPEED_GRADE LITERAL1
CAR_STATE LITERAL1
MOTOR_TYPE_H LITERAL1
MOTOR_TYPE_L LITERAL1
CROSS_DEFAULT LITERAL1
T1_DEFAULT LITERAL1
T2_DEFAULT LITERAL1
T3_DEFAULT LITERAL1
BLECMD LITERAL1
eStateCrossing LITERAL1
eStateLeftRight LITERAL1
eStateLeftStright LITERAL1
eStateRightStright LITERAL1
eRgbLeft LITERAL1
eRgbRight LITERAL1
eRgbAll LITERAL1
eMotorLeft LITERAL1
eMotorRight LITERAL1
eMotorAll LITERAL1
eBlinkOn LITERAL1
eBlinkOff LITERAL1
eMotorOn LITERAL1
eMotoroff LITERAL1
eTrakingOn LITERAL1
eTrakingOff LITERAL1
eL2 LITERAL1
eL1 LITERAL1
eM LITERAL1
eR1 LITERAL1
eR2 LITERAL1
eMotorForward LITERAL1
eMotorReverse LITERAL1
eRgbRed LITERAL1
eRgbGreen LITERAL1
eRgbYellow LITERAL1
eRgbBlue LITERAL1
eRgbPurple LITERAL1
eRgbCyan LITERAL1
eRgbWhite LITERAL1
eRgbOff LITERAL1
eBleForward LITERAL1
eBleBackward LITERAL1
eBleLeft LITERAL1
eBleRight LITERAL1
eBleRgbR LITERAL1
eBleRgbG LITERAL1
eBleRgbB LITERAL1
eBleRgbRB LITERAL1
eBleRgbRG LITERAL1
eBleRgbGB LITERAL1
eBleRgbRGB LITERAL1
eBleRgbOff LITERAL1
eBleServo1Right LITERAL1
eBleServo1Left LITERAL1
eBleServo2Right LITERAL1
eBleServo2Left LITERAL1
eBleServo3Right LITERAL1
eBleServo3Left LITERAL1
eBleServo4Right LITERAL1
eBleServo4Left LITERAL1
eTurnLeft LITERAL1
eTurnRight LITERAL1
eTurnStright LITERAL1
eTurnStop LITERAL1
eLithium LITERAL1
eAlkaline LITERAL1
COSMO_BEEP_PIN LITERAL1
COSMO_LED_PIN LITERAL1
eLightLeft LITERAL1
eLightRight LITERAL1
eCross_t LITERAL1
eRgbSelect_t LITERAL1
eMotorSelect_t LITERAL1
eBlinkTurn_t LITERAL1
eMotorTurn_t LITERAL1
eTrakingTurn_t LITERAL1
eLightSelect_t LITERAL1