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

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

[nongnu] elpa/arduino-mode e8fa204 054/107: add file meta-data headers


From: ELPA Syncer
Subject: [nongnu] elpa/arduino-mode e8fa204 054/107: add file meta-data headers
Date: Sun, 29 Aug 2021 10:58:15 -0400 (EDT)

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

    add file meta-data headers
---
 ob-arduino.el | 33 +++++++++++++++++++++++++++++----
 1 file changed, 29 insertions(+), 4 deletions(-)

diff --git a/ob-arduino.el b/ob-arduino.el
index b3b7a6e..57a15ff 100644
--- a/ob-arduino.el
+++ b/ob-arduino.el
@@ -1,9 +1,34 @@
 ;;; ob-arduino.el --- Org-mode Babel support for Arduino.
-
+;;
+;; Authors: stardiviner <numbchild@gmail.com>
+;; Package-Requires: ((emacs "24.4") (org "24.1"))
+;; Package-Version: 1.0
+;; Keywords: arduino org babel
+;; homepage: https://github.com/stardiviner/arduino-mode
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
+;;
 ;;; Commentary:
-
-
-
+;; 
+;; Like the following src block, press =[C-c C-c]= to upload to Arduino board.
+;; 
+;; #+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
+;;
 ;;; Code:
 
 (require 'org)



reply via email to

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