mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-23 22:33:57 +08:00
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:
parent
ddad64f9b1
commit
81ddab344c
4 changed files with 605 additions and 1 deletions
|
@ -379,7 +379,8 @@
|
|||
"code_vim",
|
||||
"code_vimscript",
|
||||
"code_opencl",
|
||||
"code_visual_basic"
|
||||
"code_visual_basic",
|
||||
"code_arduino"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -213,6 +213,7 @@
|
|||
,"code_vimscript"
|
||||
,"code_opencl"
|
||||
,"code_visual_basic"
|
||||
,"code_arduino"
|
||||
,"hindi"
|
||||
,"hindi_1k"
|
||||
,"macedonian"
|
||||
|
|
111
frontend/static/languages/code_arduino.json
Normal file
111
frontend/static/languages/code_arduino.json
Normal 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"
|
||||
]
|
||||
}
|
491
frontend/static/quotes/code_arduino.json
Normal file
491
frontend/static/quotes/code_arduino.json
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue