-
Notifications
You must be signed in to change notification settings - Fork 1
/
keywords.txt
105 lines (91 loc) · 2.35 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
##################################################################
# Arduino syntax highlighting is the most stupid thing I've ever #
# seen - you have to manually tell the IDE what to highlight! #
##################################################################
# HiTechnicController
HiTechnicController KEYWORD1
DaisyChainPosition KEYWORD1
FIRST LITERAL1
SECOND LITERAL1
THIRD LITERAL1
FOURTH LITERAL1
NONE LITERAL1
getManufacturer KEYWORD2
getSensorType KEYWORD2
NUM_SENSOR_TYPE_CHARS LITERAL1
NUM_MFR_CHARS LITERAL1
#------------------------------------------------------
# HiTechnicDcMotorController
HiTechnicDcMotorController KEYWORD1
RunMode KEYWORD1
RUN_WITHOUT_ENCODER LITERAL1
RUN_USING_ENCODER LITERAL1
RUN_TO_POSITION LITERAL1
STOP_AND_RESET_ENCODER LITERAL1
ZeroPowerBehavior KEYWORD1
FLOAT LITERAL1
BRAKE LITERAL1
MotorPort KEYWORD1
PORT_1 LITERAL1
PORT_2 LITERAL1
setMotorPower KEYWORD2
getMotorPower KEYWORD2
getMotorCurrentPosition KEYWORD2
setMotorMode KEYWORD2
getMotorMode KEYWORD2
setMotorZeroPowerBehavior KEYWORD2
getMotorZeroPowerBehavior KEYWORD2
setTimeoutEnabled KEYWORD2
setMotorTargetPosition KEYWORD2
getMotorTargetPosition KEYWORD2
isMotorBusy KEYWORD2
setMotorPIDCoeffs KEYWORD2
getMotorPIDCoeffs KEYWORD2
getBatteryVoltageMillivolts KEYWORD2
getBatteryVoltage KEYWORD2
reset KEYWORD2
DEFAULT_P_COEFF LITERAL1
DEFAULT_I_COEFF LITERAL1
DEFAULT_D_COEFF LITERAL1
#-----------------------------------------------------
# HiTechnicMotor
HiTechnicMotor KEYWORD1
Direction KEYWORD1
FORWARD LITERAL1
REVERSE LITERAL1
setPower KEYWORD2
getPower KEYWORD2
getCurrentPosition KEYWORD2
setMode KEYWORD2
getMode KEYWORD2
setZeroPowerBehavior KEYWORD2
getZeroPowerBehavior KEYWORD2
setDirection KEYWORD2
getDirection KEYWORD2
setTargetPosition KEYWORD2
getTargetPosition KEYWORD2
isBusy KEYWORD2
setPIDCoeffs KEYWORD2
getPIDCoeffs KEYWORD2
getController KEYWORD2
#-----------------------------------------------------
# HiTechnicServoController
HiTechnicServoController KEYWORD1
ServoPort KEYWORD1
PORT_1 LITERAL1
PORT_2 LITERAL1
PORT_3 LITERAL1
PORT_4 LITERAL1
PORT_5 LITERAL1
PORT_6 LITERAL1
setServoPosition KEYWORD2
getServoPosition KEYWORD2
enablePwm KEYWORD2
disablePwm KEYWORD2
setStepTime KEYWORD2
#-----------------------------------------------------
# HiTechnicServo
HiTechnicServo KEYWORD1
setPosition KEYWORD2
getPosition KEYWORD2
getController KEYWORD2