-
Notifications
You must be signed in to change notification settings - Fork 2
/
keywords.txt
81 lines (67 loc) · 1.94 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
#######################################
# GobbitLineCommand - Library for line following, intersection detection, and basic motor control of Gobbit robot.
# Created by Jason Talley
# Last edit 05/04/2019
# Released under GNU agreement
#######################################
# NOTE Tab sensitive -- single tab after datatype and before keyword(#)
#######################################
# Syntax Coloring Map GobbitLineCommand
#######################################
#######################################
# Datatypes (KEYWORD1)
#######################################
GobbitLineCommand KEYWORD1
#######################################
# Methods and Functions (KEYWORD2)
#######################################
drive KEYWORD2
turn KEYWORD2
calibrateLineSensor KEYWORD2
followLine KEYWORD2
move KEYWORD2
setMotors KEYWORD2
brakeMotors KEYWORD2
gripClose KEYWORD2
gripOpen KEYWORD2
gripPercentOpen KEYWORD2
backup KEYWORD2
checkBattery KEYWORD2
readBatteryVolts KEYWORD2
serialPrintCurrentSettings KEYWORD2
beep KEYWORD2
readSonarInches KEYWORD2
detectLine KEYWORD2
catchLine KEYWORD2
QTRtest KEYWORD2
#######################################
# setup and loop functions, as well as the Serial keywords (KEYWORD3)
#######################################
setGripPinOpenClosed KEYWORD3
setSonar KEYWORD3
setPID KEYWORD3
setPIDcoarse KEYWORD3
setPIDfineRange KEYWORD3
setQTRpins KEYWORD3
setTurnLowSpeed KEYWORD3
setTurnHighSpeed KEYWORD3
setMinMaxSpeeds KEYWORD3
setBatteryVolts KEYWORD3
setLeftMotorPinsDirPWM KEYWORD3
setRightMotorPinsDirPWM KEYWORD3
setBeeperPin KEYWORD3
setBrakeSpeed KEYWORD3
setBrakeStrength KEYWORD3
beginGobbit KEYWORD3
#######################################
# Constants (LITERAL1)
#######################################
#######################################
# Built-in Variables (LITERAL2)
#######################################
foundLeft LITERAL2
foundForward LITERAL2
foundRight LITERAL2
foundEnd LITERAL2
foundMark LITERAL2
distanceInch LITERAL2