2015-05-01 05:26:58 +00:00
|
|
|
#######################################
|
2018-03-07 22:39:06 +00:00
|
|
|
# Syntax Coloring Map For Arduboy2
|
2015-05-01 05:26:58 +00:00
|
|
|
#######################################
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
# Datatypes (KEYWORD1)
|
|
|
|
#######################################
|
|
|
|
|
2016-06-15 20:18:06 +00:00
|
|
|
Arduboy2 KEYWORD1
|
|
|
|
Arduboy2Base KEYWORD1
|
2018-02-19 21:09:42 +00:00
|
|
|
BeepPin1 KEYWORD1
|
|
|
|
BeepPin2 KEYWORD1
|
2018-03-07 22:39:06 +00:00
|
|
|
Point KEYWORD1
|
|
|
|
Rect KEYWORD1
|
2016-10-20 17:28:29 +00:00
|
|
|
Sprites KEYWORD1
|
2018-03-14 14:24:53 +00:00
|
|
|
SpritesB KEYWORD1
|
2015-05-01 05:26:58 +00:00
|
|
|
|
|
|
|
#######################################
|
|
|
|
# Methods and Functions (KEYWORD2)
|
|
|
|
#######################################
|
|
|
|
|
|
|
|
allPixelsOn KEYWORD2
|
2016-06-15 20:18:06 +00:00
|
|
|
begin KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
blank KEYWORD2
|
2016-06-15 20:18:06 +00:00
|
|
|
boot KEYWORD2
|
|
|
|
bootLogo KEYWORD2
|
2017-04-12 21:36:28 +00:00
|
|
|
bootLogoCompressed KEYWORD2
|
|
|
|
bootLogoShell KEYWORD2
|
2018-03-14 14:24:53 +00:00
|
|
|
bootLogoSpritesBOverwrite KEYWORD2
|
|
|
|
bootLogoSpritesBSelfMasked KEYWORD2
|
2017-04-12 21:36:28 +00:00
|
|
|
bootLogoSpritesOverwrite KEYWORD2
|
|
|
|
bootLogoSpritesSelfMasked KEYWORD2
|
2017-03-27 19:58:17 +00:00
|
|
|
bootLogoText KEYWORD2
|
2016-03-03 05:11:47 +00:00
|
|
|
buttonsState KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
clear KEYWORD2
|
2016-10-20 17:28:29 +00:00
|
|
|
collide KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
cpuLoad KEYWORD2
|
2017-04-17 21:34:58 +00:00
|
|
|
delayShort KEYWORD2
|
2016-06-15 20:18:06 +00:00
|
|
|
digitalWriteRGB KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
display KEYWORD2
|
2017-04-17 21:01:10 +00:00
|
|
|
displayOff KEYWORD2
|
|
|
|
displayOn KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
drawBitmap KEYWORD2
|
|
|
|
drawChar KEYWORD2
|
|
|
|
drawCircle KEYWORD2
|
2016-12-13 16:54:25 +00:00
|
|
|
drawCompressed KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
drawFastHLine KEYWORD2
|
|
|
|
drawFastVLine KEYWORD2
|
|
|
|
drawLine KEYWORD2
|
|
|
|
drawPixel KEYWORD2
|
|
|
|
drawRect KEYWORD2
|
|
|
|
drawRoundRect KEYWORD2
|
|
|
|
drawSlowXYBitmap KEYWORD2
|
|
|
|
drawTriangle KEYWORD2
|
2016-03-02 14:28:27 +00:00
|
|
|
enabled KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
everyXFrames KEYWORD2
|
2018-03-07 21:23:47 +00:00
|
|
|
exitToBootloader KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
fillCircle KEYWORD2
|
|
|
|
fillRect KEYWORD2
|
|
|
|
fillRoundRect KEYWORD2
|
|
|
|
fillScreen KEYWORD2
|
|
|
|
fillTriangle KEYWORD2
|
2016-06-15 20:18:06 +00:00
|
|
|
flashlight KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
flipVertical KEYWORD2
|
|
|
|
flipHorizontal KEYWORD2
|
2018-02-22 19:36:55 +00:00
|
|
|
freeRGBled KEYWORD2
|
2018-04-23 19:44:15 +00:00
|
|
|
generateRandomSeed KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
getBuffer KEYWORD2
|
2016-06-15 20:18:06 +00:00
|
|
|
getCursorX KEYWORD2
|
|
|
|
getCursorY KEYWORD2
|
2018-03-07 22:39:06 +00:00
|
|
|
getPixel KEYWORD2
|
2017-07-31 20:57:28 +00:00
|
|
|
getTextBackground KEYWORD2
|
|
|
|
getTextColor KEYWORD2
|
|
|
|
getTextSize KEYWORD2
|
|
|
|
getTextWrap KEYWORD2
|
2016-06-15 20:18:06 +00:00
|
|
|
height KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
idle KEYWORD2
|
|
|
|
initRandomSeed KEYWORD2
|
|
|
|
invert KEYWORD2
|
2016-10-20 17:28:29 +00:00
|
|
|
justPressed KEYWORD2
|
|
|
|
justReleased KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
nextFrame KEYWORD2
|
2017-02-06 21:03:15 +00:00
|
|
|
nextFrameDEV KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
notPressed KEYWORD2
|
2016-03-02 14:28:27 +00:00
|
|
|
off KEYWORD2
|
|
|
|
on KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
paint8Pixels KEYWORD2
|
|
|
|
paintScreen KEYWORD2
|
2016-10-20 17:28:29 +00:00
|
|
|
pollButtons KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
pressed KEYWORD2
|
2018-03-19 19:51:21 +00:00
|
|
|
readShowBootLogoFlag KEYWORD2
|
2018-04-06 16:51:52 +00:00
|
|
|
readShowBootLogoLEDsFlag KEYWORD2
|
2017-03-29 21:36:13 +00:00
|
|
|
readShowUnitNameFlag KEYWORD2
|
2017-02-06 18:34:46 +00:00
|
|
|
readUnitID KEYWORD2
|
|
|
|
readUnitName KEYWORD2
|
2017-03-24 19:53:35 +00:00
|
|
|
safeMode KEYWORD2
|
2016-03-02 14:28:27 +00:00
|
|
|
saveOnOff KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
setCursor KEYWORD2
|
2018-02-09 23:18:19 +00:00
|
|
|
setFrameDuration KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
setFrameRate KEYWORD2
|
2016-06-15 20:18:06 +00:00
|
|
|
setRGBled KEYWORD2
|
|
|
|
setTextBackground KEYWORD2
|
2017-07-31 20:57:28 +00:00
|
|
|
setTextColor KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
setTextSize KEYWORD2
|
|
|
|
setTextWrap KEYWORD2
|
2017-03-15 18:10:19 +00:00
|
|
|
SPItransfer KEYWORD2
|
2016-06-15 20:18:06 +00:00
|
|
|
systemButtons KEYWORD2
|
2016-12-13 16:49:29 +00:00
|
|
|
toggle KEYWORD2
|
2018-02-19 22:01:32 +00:00
|
|
|
waitNoButtons KEYWORD2
|
2016-06-15 20:18:06 +00:00
|
|
|
width KEYWORD2
|
2018-03-19 19:51:21 +00:00
|
|
|
writeShowBootLogoFlag KEYWORD2
|
2018-04-06 16:51:52 +00:00
|
|
|
writeShowBootLogoLEDsFlag KEYWORD2
|
2017-03-29 21:36:13 +00:00
|
|
|
writeShowUnitNameFlag KEYWORD2
|
2017-02-06 18:34:46 +00:00
|
|
|
writeUnitID KEYWORD2
|
|
|
|
writeUnitName KEYWORD2
|
2015-05-01 05:26:58 +00:00
|
|
|
|
2018-02-19 21:09:42 +00:00
|
|
|
# Arduboy2Beep classes
|
|
|
|
freq KEYWORD2
|
|
|
|
noTone KEYWORD2
|
|
|
|
timer KEYWORD2
|
|
|
|
tone KEYWORD2
|
|
|
|
|
2016-10-20 17:28:29 +00:00
|
|
|
# Sprites class
|
|
|
|
drawErase KEYWORD2
|
|
|
|
drawExternalMask KEYWORD2
|
|
|
|
drawOverwrite KEYWORD2
|
|
|
|
drawPlusMask KEYWORD2
|
|
|
|
drawSelfMasked KEYWORD2
|
|
|
|
|
2015-05-01 05:26:58 +00:00
|
|
|
#######################################
|
|
|
|
# Constants (LITERAL1)
|
|
|
|
#######################################
|
|
|
|
|
2016-11-21 21:31:10 +00:00
|
|
|
ARDUBOY_LIB_VER LITERAL1
|
|
|
|
|
2018-03-07 22:39:06 +00:00
|
|
|
ARDUBOY_UNIT_NAME_LEN LITERAL1
|
2020-06-18 21:37:33 +00:00
|
|
|
ARDUBOY_UNIT_NAME_BUFFER_SIZE LITERAL1
|
2018-03-07 22:39:06 +00:00
|
|
|
|
2016-11-21 21:31:10 +00:00
|
|
|
EEPROM_STORAGE_SPACE_START LITERAL1
|
|
|
|
|
2016-06-15 20:18:06 +00:00
|
|
|
HEIGHT LITERAL1
|
|
|
|
WIDTH LITERAL1
|
|
|
|
|
2015-05-01 05:26:58 +00:00
|
|
|
BLACK LITERAL1
|
|
|
|
WHITE LITERAL1
|
2016-11-21 21:31:10 +00:00
|
|
|
INVERT LITERAL1
|
2015-05-01 05:26:58 +00:00
|
|
|
|
2016-11-22 19:05:52 +00:00
|
|
|
CLEAR_BUFFER LITERAL1
|
|
|
|
|
2016-06-15 20:18:06 +00:00
|
|
|
A_BUTTON LITERAL1
|
|
|
|
B_BUTTON LITERAL1
|
|
|
|
DOWN_BUTTON LITERAL1
|
|
|
|
LEFT_BUTTON LITERAL1
|
|
|
|
RIGHT_BUTTON LITERAL1
|
|
|
|
UP_BUTTON LITERAL1
|
|
|
|
|
|
|
|
PIN_SPEAKER_1 LITERAL1
|
|
|
|
PIN_SPEAKER_2 LITERAL1
|
|
|
|
|
|
|
|
BLUE_LED LITERAL1
|
|
|
|
GREEN_LED LITERAL1
|
|
|
|
RED_LED LITERAL1
|
|
|
|
|
|
|
|
RGB_OFF LITERAL1
|
|
|
|
RGB_ON LITERAL1
|
|
|
|
|
2018-03-07 21:23:47 +00:00
|
|
|
ARDUBOY_NO_USB LITERAL1
|
|
|
|
|