Added the Arduino programming language (#3442) egorguslyan

* Arduino language

Reference: https://www.arduino.cc/reference/

* Prepared examples (A-K)

* Prepared examples (M-W)

* EOF without NL, to line converter

* Done

* Removed temporary folder

* {

* Recalculate

* Fix spaces, recalculate

* Double space fix, recalculate

* quotation marks

* Need to check it again

* Quotation marks

* runebone fixed lengths
This commit is contained in:
egorguslyan 2022-08-26 15:36:23 -03:00 committed by GitHub
parent ddad64f9b1
commit 81ddab344c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 605 additions and 1 deletions

View file

@ -379,7 +379,8 @@
"code_vim",
"code_vimscript",
"code_opencl",
"code_visual_basic"
"code_visual_basic",
"code_arduino"
]
},
{

View file

@ -213,6 +213,7 @@
,"code_vimscript"
,"code_opencl"
,"code_visual_basic"
,"code_arduino"
,"hindi"
,"hindi_1k"
,"macedonian"

View file

@ -0,0 +1,111 @@
{
"name": "code_arduino",
"leftToRight": true,
"noLazyMode": true,
"words": [
"digitalRead",
"digitalWrite",
"pinMode",
"analogRead",
"analogReference",
"analogWrite",
"analogReadResolution",
"analogWriteResolution",
"noTone",
"pulseIn",
"pulseInLong",
"shiftIn",
"shiftOut",
"tone",
"delay",
"delayMicroseconds",
"micros",
"millis",
"abs",
"constrain",
"map",
"max",
"min",
"pow",
"sq",
"sqrt",
"cos",
"sin",
"tan",
"isAlpha",
"isAlphaNumeric",
"isAscii",
"isControl",
"isDigit",
"isGraph",
"isHexadecimalDigit",
"isLowerCase",
"isPrintable",
"isPunct",
"isSpace",
"isUpperCase",
"isWhitespace",
"random",
"randomSeed",
"bit",
"bitClear",
"bitRead",
"bitSet",
"bitWrite",
"highByte",
"lowByte",
"attachInterrupt",
"detachInterrupt",
"interrupts",
"noInterrupts",
"Serial",
"SPI",
"Stream",
"Wire",
"Keyboard",
"Mouse",
"HIGH",
"LOW",
"INPUT",
"OUTPUT",
"INPUT_PULLUP",
"LED_BUILTIN",
"true",
"false",
"bool",
"boolean",
"byte",
"char",
"double",
"float",
"int",
"long",
"short",
"size_t",
"string",
"String",
"unsigned",
"void",
"word",
"const",
"static",
"volatile",
"PROGMEM",
"sizeof",
"loop",
"setup",
"break",
"continue",
"do",
"else",
"for",
"goto",
"if",
"return",
"switch",
"case",
"while",
"#define",
"#include"
]
}

File diff suppressed because one or more lines are too long