[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/arduino-mode effb0bc 024/107: Sync with the language refer
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/arduino-mode effb0bc 024/107: Sync with the language reference as of 20150503 |
Date: |
Sun, 29 Aug 2021 10:58:10 -0400 (EDT) |
branch: elpa/arduino-mode
commit effb0bc588ba4d5808bb31b8a340a6cc2dc0f3ae
Author: Christopher Grim <christopher.grim@gmail.com>
Commit: Christopher Grim <christopher.grim@gmail.com>
Sync with the language reference as of 20150503
---
arduino-mode.el | 45 +++++++++++++++++++++++++++++++--------------
1 file changed, 31 insertions(+), 14 deletions(-)
diff --git a/arduino-mode.el b/arduino-mode.el
index 0dc93d4..0be11d6 100644
--- a/arduino-mode.el
+++ b/arduino-mode.el
@@ -1,4 +1,4 @@
-;;; arduino-mode.el --- Major mode for the Arduino language
+;;; Arduino-mode.el --- Major mode for the Arduino language
;; Copyright (C) 2008 Christopher Grim
@@ -45,8 +45,12 @@
(c-lang-const c-primitive-type-kwds)))
(c-lang-defconst c-constant-kwds
- arduino (append '("HIGH" "LOW" "INPUT" "OUTPUT")
- (c-lang-const c-constant-kwds)))
+ arduino (append
+ '("HIGH" "LOW"
+ "INPUT" "OUTPUT" "INPUT_PULLUP"
+ "LED_BUILTIN"
+ "true" "false")
+ (c-lang-const c-constant-kwds)))
(c-lang-defconst c-simple-stmt-kwds
arduino (append
@@ -55,13 +59,21 @@
"digitalWrite"
"digitalRead"
;; Analog I/O
+ "analogReference"
"analogRead"
"analogWrite"
+ ;; Due only
+ "analogReadResolution"
+ "analogWriteResolution"
;; Advanced I/O
+ "tone"
+ "noTone"
"shiftOut"
+ "shiftIn"
"pulseIn"
;; Time
"millis"
+ "micros"
"delay"
"delayMicroseconds"
;; Math
@@ -71,7 +83,6 @@
"constrain"
"map"
"pow"
- "sq"
"sqrt"
;; Trigonometry
"sin"
@@ -80,24 +91,30 @@
;; Random Numbers
"randomSeed"
"random"
+ ;; Bits and Bytes
+ "lowByte"
+ "highByte"
+ "bitRead"
+ "bitWrite"
+ "bitSet"
+ "bitClear"
+ "bit"
;; External Interrupts
"attachInterrupt"
"detachInterrupt"
;; Interrupts
"interrupts"
- "noInterrupts"
- ;; Serial Communication
- "begin"
- "available"
- "read"
- "flush"
- "print"
- "println")
+ "noInterrupts")
(c-lang-const c-simple-stmt-kwds)))
(c-lang-defconst c-primary-expr-kwds
- arduino (append '("Serial")
- (c-lang-const c-primary-expr-kwds)))
+ arduino (append
+ '(;; Communication
+ "Serial"
+ ;; USB (Leonoardo based boards and Due only)
+ "Keyboard"
+ "Mouse")
+ (c-lang-const c-primary-expr-kwds)))
(defgroup arduino nil "Arduino mode customizations")
- [nongnu] elpa/arduino-mode a409aa0 008/107: Automatically create a skeleton Makefile., (continued)
- [nongnu] elpa/arduino-mode a409aa0 008/107: Automatically create a skeleton Makefile., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 2a71e75 012/107: Use correct version of compiled code for GNU Emacs., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 3cc39d9 013/107: Add bindings for arduino-upload., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 5d10eca 002/107: add imenu support, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 0f73f82 004/107: highlight builtins for serial communication, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode dbb523c 005/107: Include additional keywords found in Arduino version 0018., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 16e1d57 010/107: Add init file., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode f4fd0e8 017/107: added autoload on .ino files, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 68c1661 019/107: Add Version header., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 1fc4b2a 020/107: Add missing autoload cookie, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode effb0bc 024/107: Sync with the language reference as of 20150503,
ELPA Syncer <=
- [nongnu] elpa/arduino-mode 44c2728 025/107: Add to languages customisation group., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode bb89ac8 030/107: Merge pull request #11 from bookest/bug/undefined-cl-macroexpand-all, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 241b179 032/107: Merge https://github.com/mavit/arduino-mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode aed4acb 034/107: Add additional customization, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode a468e63 035/107: Add basic support for file variables, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode d1233b1 036/107: Use configured preferences file for ede signature, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 9a168aa 038/107: fix void function `ede-project-autoload`, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 1424952 039/107: add new keywords, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 411815d 041/107: change arduino-upload keybinding to [C-c C-c], ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 20e284a 042/107: format code, ELPA Syncer, 2021/08/29