2015-03-26 15:26:17 +01:00
|
|
|
#FUNCTIONS COLOR #D35400 - ORANGE KEYWORD1
|
|
|
|
#FUNCTIONS COLOR #D35400 - ORANGE KEYWORD2
|
2015-04-01 16:18:18 +02:00
|
|
|
#STRUCTURE COLORS #5E6D03 - GREEN KEYWORD3
|
2015-03-26 15:26:17 +01:00
|
|
|
#VARIABLES COLOR #00979C - BLUE LITERAL2
|
2009-05-31 17:53:33 +02:00
|
|
|
|
2015-03-26 15:26:17 +01:00
|
|
|
# LITERAL2 specifies constants
|
2009-05-31 17:53:33 +02:00
|
|
|
|
2015-04-27 17:23:44 +02:00
|
|
|
HIGH LITERAL2 Constants RESERVED_WORD_2
|
|
|
|
LOW LITERAL2 Constants RESERVED_WORD_2
|
|
|
|
INPUT LITERAL2 Constants RESERVED_WORD_2
|
|
|
|
INPUT_PULLUP LITERAL2 Constants RESERVED_WORD_2
|
|
|
|
OUTPUT LITERAL2 Constants RESERVED_WORD_2
|
|
|
|
DEC LITERAL2 Serial_Print RESERVED_WORD_2
|
|
|
|
BIN LITERAL2 Serial_Print RESERVED_WORD_2
|
|
|
|
HEX LITERAL2 Serial_Print RESERVED_WORD_2
|
|
|
|
OCT LITERAL2 Serial_Print RESERVED_WORD_2
|
|
|
|
PI LITERAL2 RESERVED_WORD_2
|
|
|
|
HALF_PI LITERAL2 RESERVED_WORD_2
|
|
|
|
TWO_PI LITERAL2 RESERVED_WORD_2
|
|
|
|
LSBFIRST LITERAL2 ShiftOut RESERVED_WORD_2
|
|
|
|
MSBFIRST LITERAL2 ShiftOut RESERVED_WORD_2
|
|
|
|
CHANGE LITERAL2 AttachInterrupt RESERVED_WORD_2
|
|
|
|
FALLING LITERAL2 AttachInterrupt RESERVED_WORD_2
|
|
|
|
RISING LITERAL2 AttachInterrupt RESERVED_WORD_2
|
|
|
|
DEFAULT LITERAL2 AnalogReference RESERVED_WORD_2
|
|
|
|
EXTERNAL LITERAL2 AnalogReference RESERVED_WORD_2
|
|
|
|
INTERNAL LITERAL2 AnalogReference RESERVED_WORD_2
|
|
|
|
INTERNAL1V1 LITERAL2 AnalogReference RESERVED_WORD_2
|
|
|
|
INTERNAL2V56 LITERAL2 AnalogReference RESERVED_WORD_2
|
2015-08-03 10:19:45 +02:00
|
|
|
LED_BUILTIN LITERAL2 RESERVED_WORD_2
|
2009-05-31 17:53:33 +02:00
|
|
|
|
2015-05-18 09:51:55 +02:00
|
|
|
auto LITERAL2 RESERVED_WORD_2
|
2015-05-11 17:37:05 +02:00
|
|
|
constexpr LITERAL2 RESERVED_WORD_2
|
|
|
|
decltype LITERAL2 RESERVED_WORD_2
|
|
|
|
nullptr LITERAL2 RESERVED_WORD_2
|
2015-05-18 09:51:55 +02:00
|
|
|
wchar_t LITERAL2 RESERVED_WORD_2
|
|
|
|
|
|
|
|
int8_t LITERAL2 RESERVED_WORD_2
|
|
|
|
int16_t LITERAL2 RESERVED_WORD_2
|
|
|
|
int32_t LITERAL2 RESERVED_WORD_2
|
|
|
|
int64_t LITERAL2 RESERVED_WORD_2
|
|
|
|
uint8_t LITERAL2 RESERVED_WORD_2
|
|
|
|
uint16_t LITERAL2 RESERVED_WORD_2
|
|
|
|
uint32_t LITERAL2 RESERVED_WORD_2
|
|
|
|
uint64_t LITERAL2 RESERVED_WORD_2
|
|
|
|
|
2015-05-11 17:37:05 +02:00
|
|
|
char16_t LITERAL2 RESERVED_WORD_2
|
|
|
|
char32_t LITERAL2 RESERVED_WORD_2
|
|
|
|
static_assert LITERAL2 RESERVED_WORD_2
|
|
|
|
operator LITERAL2 RESERVED_WORD_2
|
|
|
|
enum LITERAL2 RESERVED_WORD_2
|
|
|
|
delete LITERAL2 RESERVED_WORD_2
|
2015-05-18 09:51:55 +02:00
|
|
|
bool LITERAL2 RESERVED_WORD_2
|
2015-04-27 17:23:44 +02:00
|
|
|
boolean LITERAL2 BooleanVariables RESERVED_WORD_2
|
|
|
|
byte LITERAL2 Byte RESERVED_WORD_2
|
|
|
|
char LITERAL2 Char RESERVED_WORD_2
|
|
|
|
const LITERAL2 Const RESERVED_WORD_2
|
|
|
|
false LITERAL2 Constants LITERAL_BOOLEAN
|
|
|
|
float LITERAL2 Float RESERVED_WORD_2
|
2015-05-18 09:51:55 +02:00
|
|
|
double LITERAL2 RESERVED_WORD_2
|
2015-04-27 17:23:44 +02:00
|
|
|
null LITERAL2 RESERVED_WORD_2
|
|
|
|
int LITERAL2 Int RESERVED_WORD_2
|
|
|
|
long LITERAL2 Long RESERVED_WORD_2
|
|
|
|
new LITERAL2 RESERVED_WORD_2
|
|
|
|
private LITERAL2 RESERVED_WORD_2
|
|
|
|
protected LITERAL2 RESERVED_WORD_2
|
|
|
|
public LITERAL2 RESERVED_WORD_2
|
|
|
|
short LITERAL2 RESERVED_WORD_2
|
|
|
|
signed LITERAL2 RESERVED_WORD_2
|
|
|
|
static LITERAL2 Static RESERVED_WORD_2
|
2015-05-19 16:36:32 +02:00
|
|
|
goto LITERAL2 RESERVED_WORD_2
|
2015-04-27 17:23:44 +02:00
|
|
|
String LITERAL2 String RESERVED_WORD_2
|
|
|
|
void LITERAL2 Void RESERVED_WORD_2
|
|
|
|
true LITERAL2 LITERAL_BOOLEAN
|
|
|
|
unsigned LITERAL2 RESERVED_WORD_2
|
2015-05-18 09:51:55 +02:00
|
|
|
word LITERAL2 RESERVED_WORD_2
|
2009-06-01 19:10:56 +02:00
|
|
|
|
|
|
|
# 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
|
2013-09-27 18:05:55 +02:00
|
|
|
pow KEYWORD2 Pow
|
2009-06-01 19:10:56 +02:00
|
|
|
|
2009-07-15 00:07:37 +02:00
|
|
|
bitRead KEYWORD2 BitRead
|
|
|
|
bitWrite KEYWORD2 BitWrite
|
|
|
|
bitSet KEYWORD2 BitSet
|
|
|
|
bitClear KEYWORD2 BitClear
|
|
|
|
bit KEYWORD2 Bit
|
|
|
|
highByte KEYWORD2 HighByte
|
|
|
|
lowByte KEYWORD2 LowByte
|
2009-06-01 19:10:56 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
micros KEYWORD2 Micros
|
2010-01-09 18:43:16 +01:00
|
|
|
noInterrupts KEYWORD2 NoInterrupts
|
|
|
|
noTone KEYWORD2 NoTone
|
2009-06-01 19:10:56 +02:00
|
|
|
pinMode KEYWORD2 PinMode
|
|
|
|
pulseIn KEYWORD2 PulseIn
|
2015-09-24 12:30:12 +02:00
|
|
|
pulseInLong KEYWORD2 PulseInLong
|
2010-08-12 00:59:00 +02:00
|
|
|
shiftIn KEYWORD2 ShiftIn
|
2009-06-01 19:10:56 +02:00
|
|
|
shiftOut KEYWORD2 ShiftOut
|
2010-01-09 18:43:16 +01:00
|
|
|
tone KEYWORD2 Tone
|
2012-10-31 01:37:37 +01:00
|
|
|
yield KEYWORD2 Yield
|
2009-06-01 19:10:56 +02:00
|
|
|
|
2015-04-27 17:23:44 +02:00
|
|
|
Serial KEYWORD1 Serial DATA_TYPE
|
|
|
|
Serial1 KEYWORD1 Serial DATA_TYPE
|
|
|
|
Serial2 KEYWORD1 Serial DATA_TYPE
|
|
|
|
Serial3 KEYWORD1 Serial DATA_TYPE
|
|
|
|
SerialUSB KEYWORD1 Serial DATA_TYPE
|
2009-06-01 19:10:56 +02:00
|
|
|
begin KEYWORD2 Serial_Begin
|
2009-12-23 01:01:36 +01:00
|
|
|
end KEYWORD2 Serial_End
|
2010-07-05 01:31:55 +02:00
|
|
|
peek KEYWORD2 Serial_Peek
|
2009-06-01 19:10:56 +02:00
|
|
|
read KEYWORD2 Serial_Read
|
|
|
|
print KEYWORD2 Serial_Print
|
|
|
|
println KEYWORD2 Serial_Println
|
|
|
|
available KEYWORD2 Serial_Available
|
2014-07-18 16:01:26 +02:00
|
|
|
availableForWrite KEYWORD2
|
2009-06-01 19:10:56 +02:00
|
|
|
flush KEYWORD2 Serial_Flush
|
2011-08-17 20:16:47 +02:00
|
|
|
setTimeout KEYWORD2
|
|
|
|
find KEYWORD2
|
|
|
|
findUntil KEYWORD2
|
|
|
|
parseInt KEYWORD2
|
|
|
|
parseFloat KEYWORD2
|
|
|
|
readBytes KEYWORD2
|
|
|
|
readBytesUntil KEYWORD2
|
2013-05-09 18:39:03 +02:00
|
|
|
readString KEYWORD2
|
|
|
|
readStringUntil KEYWORD2
|
2013-07-01 18:47:13 +02:00
|
|
|
trim KEYWORD2
|
|
|
|
toUpperCase KEYWORD2
|
|
|
|
toLowerCase KEYWORD2
|
|
|
|
charAt KEYWORD2
|
|
|
|
compareTo KEYWORD2
|
|
|
|
concat KEYWORD2
|
|
|
|
endsWith KEYWORD2
|
|
|
|
startsWith KEYWORD2
|
|
|
|
equals KEYWORD2
|
|
|
|
equalsIgnoreCase KEYWORD2
|
|
|
|
getBytes KEYWORD2
|
|
|
|
indexOf KEYWORD2
|
|
|
|
lastIndexOf KEYWORD2
|
|
|
|
length KEYWORD2
|
|
|
|
replace KEYWORD2
|
|
|
|
setCharAt KEYWORD2
|
|
|
|
substring KEYWORD2
|
|
|
|
toCharArray KEYWORD2
|
|
|
|
toInt KEYWORD2
|
2009-06-01 19:10:56 +02:00
|
|
|
|
2015-04-27 17:23:44 +02:00
|
|
|
Keyboard KEYWORD1 DATA_TYPE
|
|
|
|
Mouse KEYWORD1 DATA_TYPE
|
2012-04-09 15:00:48 +02:00
|
|
|
press KEYWORD2
|
|
|
|
release KEYWORD2
|
|
|
|
releaseAll KEYWORD2
|
|
|
|
accept KEYWORD2
|
|
|
|
click KEYWORD2
|
|
|
|
move KEYWORD2
|
|
|
|
isPressed KEYWORD2
|
|
|
|
|
2015-03-26 15:26:17 +01:00
|
|
|
# KEYWORD3 specifies structures
|
|
|
|
|
2015-04-27 17:23:44 +02:00
|
|
|
break KEYWORD3 Break RESERVED_WORD
|
|
|
|
case KEYWORD3 SwitchCase RESERVED_WORD
|
|
|
|
class KEYWORD3 RESERVED_WORD
|
|
|
|
continue KEYWORD3 Continue RESERVED_WORD
|
|
|
|
default KEYWORD3 SwitchCase RESERVED_WORD
|
|
|
|
do KEYWORD3 DoWhile RESERVED_WORD
|
|
|
|
else KEYWORD3 Else RESERVED_WORD
|
|
|
|
for KEYWORD3 For RESERVED_WORD
|
|
|
|
if KEYWORD3 If RESERVED_WORD
|
|
|
|
register KEYWORD3 RESERVED_WORD
|
|
|
|
return KEYWORD3 Return RESERVED_WORD
|
2015-03-26 15:26:17 +01:00
|
|
|
|
2015-04-27 17:23:44 +02:00
|
|
|
switch KEYWORD3 SwitchCase RESERVED_WORD
|
|
|
|
this KEYWORD3 RESERVED_WORD
|
|
|
|
throw KEYWORD3 RESERVED_WORD
|
|
|
|
try KEYWORD3 RESERVED_WORD
|
|
|
|
while KEYWORD3 While RESERVED_WORD
|
2015-03-26 15:26:17 +01:00
|
|
|
|
2015-04-27 17:23:44 +02:00
|
|
|
setup KEYWORD3 Setup RESERVED_WORD
|
|
|
|
loop KEYWORD3 Loop RESERVED_WORD
|
2015-03-26 15:26:17 +01:00
|
|
|
|
2015-05-18 09:51:55 +02:00
|
|
|
alignas KEYWORD3 RESERVED_WORD
|
|
|
|
alignof KEYWORD3 RESERVED_WORD
|
|
|
|
asm KEYWORD3 RESERVED_WORD
|
|
|
|
export KEYWORD3 RESERVED_WORD
|
|
|
|
thread_local KEYWORD3 RESERVED_WORD
|
|
|
|
noexcept KEYWORD3 RESERVED_WORD
|
|
|
|
export KEYWORD3 RESERVED_WORD
|
|
|
|
|
2015-03-26 15:26:17 +01:00
|
|
|
# operators aren't highlighted, but may have documentation
|
|
|
|
|
|
|
|
+= IncrementCompound
|
|
|
|
+ Arithmetic
|
|
|
|
[] arrayaccess
|
|
|
|
= assign
|
|
|
|
& BitwiseAnd
|
|
|
|
| BitwiseAnd
|
2015-07-09 13:13:22 +02:00
|
|
|
^ BitwiseAnd
|
|
|
|
~ BitwiseXorNot
|
2015-04-27 17:23:44 +02:00
|
|
|
,
|
2015-03-26 15:26:17 +01:00
|
|
|
// Comments
|
2015-04-27 17:23:44 +02:00
|
|
|
?:
|
2015-03-26 15:26:17 +01:00
|
|
|
{} Braces
|
|
|
|
-- Increment
|
|
|
|
/ Arithmetic
|
|
|
|
/* Comments
|
|
|
|
. dot
|
2015-07-09 13:13:22 +02:00
|
|
|
== If
|
|
|
|
< If
|
|
|
|
<= If
|
2015-03-26 15:26:17 +01:00
|
|
|
++ Increment
|
2015-07-09 13:13:22 +02:00
|
|
|
!= If
|
2015-03-26 15:26:17 +01:00
|
|
|
<< Bitshift
|
2015-07-09 13:13:22 +02:00
|
|
|
> If
|
|
|
|
>= If
|
2015-03-26 15:26:17 +01:00
|
|
|
&& Boolean
|
|
|
|
! Boolean
|
|
|
|
|| Boolean
|
|
|
|
- Arithmetic
|
|
|
|
% Modulo
|
|
|
|
* Arithmetic
|
|
|
|
() parentheses
|
|
|
|
>> Bitshift
|
|
|
|
; SemiColon
|
2015-04-04 07:01:14 +02:00
|
|
|
-= DecrementCompound
|
2015-07-08 16:21:31 +02:00
|
|
|
|
|
|
|
\#include KEYWORD3 PREPROCESSOR
|
|
|
|
\#define KEYWORD3 PREPROCESSOR
|
|
|
|
\#elif KEYWORD3 PREPROCESSOR
|
|
|
|
\#else KEYWORD3 PREPROCESSOR
|
|
|
|
\#error KEYWORD3 PREPROCESSOR
|
|
|
|
\#if KEYWORD3 PREPROCESSOR
|
|
|
|
\#ifdef KEYWORD3 PREPROCESSOR
|
|
|
|
\#ifndef KEYWORD3 PREPROCESSOR
|
|
|
|
\#pragma KEYWORD3 PREPROCESSOR
|
|
|
|
\#warning KEYWORD3 PREPROCESSOR
|