emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/arduino-mode 18fce1d 052/107: add README


From: ELPA Syncer
Subject: [nongnu] elpa/arduino-mode 18fce1d 052/107: add README
Date: Sun, 29 Aug 2021 10:58:15 -0400 (EDT)

branch: elpa/arduino-mode
commit 18fce1deaa925f8cdc5d5e32dc9579f5bcadae94
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>

    add README
---
 README.org | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/README.org b/README.org
new file mode 100644
index 0000000..77b724a
--- /dev/null
+++ b/README.org
@@ -0,0 +1,42 @@
+* Install
+
+** MELPA available
+
+* Features
+
+- syntax highlighting
+- command-line arduino interface
+- org-mode babel support
+
+* Usage
+
+** arduino-mode
+
+- Upload :: In Arduino source code file, press =[C-c C-c]= to upload to 
Arduino board.
+- Build :: In Arduino source code file, press =[C-c C-v]= to build.
+
+** completing
+
+use with package company-arduino to get Arduino code completing.
+
+** ob-arduino
+
+Like the following src block, press =[C-c C-c]= to upload to Arduino board.
+
+#+begin_src org
+,#+begin_src arduino
+// the setup function runs once when you press reset or power the board
+void setup() {
+  // initialize digital pin LED_BUILTIN as an output.
+  pinMode(LED_BUILTIN, OUTPUT);
+}
+
+// the loop function runs over and over again forever
+void loop() {
+  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage 
level)
+  delay(100);                       // wait for 0.1 second
+  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage 
LOW
+  delay(100);                       // wait for 0.1 second
+}
+,#+end_src
+#+end_src



reply via email to

[Prev in Thread] Current Thread [Next in Thread]