My favorites | Sign in
Project Home Downloads Wiki Issues
Checkout   Browse   Changes    
 
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
# LITERAL1 specifies constants

HIGH LITERAL1 Constants
LOW LITERAL1 Constants
INPUT LITERAL1 Constants
OUTPUT LITERAL1 Constants
SERIAL LITERAL1
DISPLAY LITERAL1
DEC LITERAL1 Serial_Print
BIN LITERAL1 Serial_Print
HEX LITERAL1 Serial_Print
OCT LITERAL1 Serial_Print
BYTE LITERAL1 Serial_Print
PI LITERAL1
HALF_PI LITERAL1
TWO_PI LITERAL1
LSBFIRST LITERAL1 ShiftOut
MSBFIRST LITERAL1 ShiftOut
CHANGE LITERAL1 AttachInterrupt
FALLING LITERAL1 AttachInterrupt
RISING LITERAL1 AttachInterrupt
DEFAULT LITERAL1 AnalogReference
EXTERNAL LITERAL1 AnalogReference
INTERAL LITERAL1 AnalogReference

# KEYWORD1 specifies datatypes and C/C++ keywords

boolean KEYWORD1 BooleanVariables
byte KEYWORD1 Byte
case KEYWORD1 SwitchCase
char KEYWORD1 Char
class KEYWORD1
default KEYWORD1 SwitchCase
do KEYWORD1 DoWhile
double KEYWORD1 Double
else KEYWORD1 Else
false KEYWORD1 Constants
float KEYWORD1 Float
for KEYWORD1 For
if KEYWORD1 If
int KEYWORD1 Int
long KEYWORD1 Long
new KEYWORD1
null KEYWORD1
private KEYWORD1
protected KEYWORD1
public KEYWORD1
return KEYWORD1 Return
short KEYWORD1
signed KEYWORD1
static KEYWORD1 Static
switch KEYWORD1 SwitchCase
this KEYWORD1
throw KEYWORD1
try KEYWORD1
true KEYWORD1
unsigned KEYWORD1
void KEYWORD1 Void
while KEYWORD1 While

# operators aren't highlighted, but may have documentation

+= IncrementCompound
+ Arithmetic
[] arrayaccess
= assign
& BitwiseAnd
| BitwiseAnd
,
// Comments
?:
{} Braces
-- Increment
/ Arithmetic
/* Comments
. dot
==
< greaterthan
<= greaterthanorequalto
++ Increment
!= inequality
<< Bitshift
< lessthan
<= lessthanorequalto
&& Boolean
! Boolean
|| Boolean
- Arithmetic
% Modulo
* Arithmetic
() parentheses
>> Bitshift
; SemiColon
-= IncrementCompound

# these are datatypes, but we've also defined functions to cast to them

boolean KEYWORD2 boolean_
byte KEYWORD2 byte_
char KEYWORD2 char_
float KEYWORD2 float_
int KEYWORD2 int_
long KEYWORD2 long_

# KEYWORD2 specifies methods and functions

abs KEYWORD2 Abs
acos KEYWORD2 ACos
asin KEYWORD2 ASin
atan KEYWORD2 ATan
atan2 KEYWORD2 ATan2
ceil KEYWORD2 Ceil
constrain KEYWORD2 Constrain
cos KEYWORD2 Cos
degrees KEYWORD2
exp KEYWORD2 Exp
floor KEYWORD2 Floor
log KEYWORD2 Log
map KEYWORD2 Map
max KEYWORD2 Max
min KEYWORD2 Min
radians KEYWORD2
random KEYWORD2 Random
randomSeed KEYWORD2 RandomSeed
round KEYWORD2
sin KEYWORD2 Sin
sq KEYWORD2 Sq
sqrt KEYWORD2 Sqrt
tan KEYWORD2 Tan

analogReference KEYWORD2 AnalogReference
analogRead KEYWORD2 AnalogRead
analogWrite KEYWORD2 AnalogWrite
attachInterrupt KEYWORD2 AttachInterrupt
detachInterrupt KEYWORD2 DetachInterrupt
delay KEYWORD2 Delay
delayMicroseconds KEYWORD2 DelayMicroseconds
digitalWrite KEYWORD2 DigitalWrite
digitalRead KEYWORD2 DigitalRead
interrupts KEYWORD2
millis KEYWORD2 Millis
noInterrupts KEYWORD2
pinMode KEYWORD2 PinMode
pulseIn KEYWORD2 PulseIn
shiftOut KEYWORD2 ShiftOut

Serial KEYWORD3
Serial KEYWORD2
begin KEYWORD2 Serial_Begin
read KEYWORD2 Serial_Read
print KEYWORD2 Serial_Print
println KEYWORD2 Serial_Println
available KEYWORD2 Serial_Available
flush KEYWORD2 Serial_Flush

setup KEYWORD3 Setup
loop KEYWORD3 Loop

Change log

r511 by mellis on Oct 11, 2008   Diff
Tagging release 0012.
Go to: 
Sign in to write a code review

Older revisions

r371 by mellis on Jan 21, 2008   Diff
Fixing keywords.txt so that Find in
Reference will work.  Removing empty
app/language directory.
r367 by mellis on Dec 13, 2007   Diff
Adding analogReference() function -
needs testing on an ATmega8 (but works
on the ATmega 168).
r366 by mellis on Nov 21, 2007   Diff
Adding map(), fixing radians() and
degrees(), adding cast functions
(int(x) instead of (int) x), adding
interrupts() and noInterrupts(), etc.
All revisions of this file

File info

Size: 3154 bytes, 157 lines

File properties

svn:keywords
Id
Powered by Google Project Hosting