;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\210\300\303\304\305#\210\306\307\304\310\311\301%\210\312\313\314\315\311\307\316\317&\210\312\320\321\322\311\307\316\317&\210\312\323\324\325\311\307\316\317&\207" [require org ob arduino-mode nil t custom-declare-group ob-arduino "org-mode blocks for Arduino." :group custom-declare-variable ob-arduino:program "arduino" "Default Arduino program name." :type string ob-arduino:port "/dev/ttyACM0" "Default Arduino port." ob-arduino:board "arduino:avr:uno" "Default Arduino board."] 8) (defvar org-babel-default-header-args:sclang nil) #@25 org-babel arduino hook. (defalias 'org-babel-execute:arduino #[(body params) "\306\236A\307\236A\310\311 \312 \205\313 P\n\205\314\nPF\315#\316 \" \317\320\321\"!\322\323\324\325\317\320\321\"!\326\321#\"\210!\327\330\331\"\"#\332\216r\"q\210 c\210)r\"q\210\333\326\211#\326\334%\210,\335 \336 \205i\313 P\315\n\205q\314\nP\315!\260\337\"-\207" [params port board ob-arduino:program cmd body :port :board mapconcat identity "--upload" "--port " "--board " " " org-babel-expand-body:generic org-babel-temp-file "ob-arduino-" ".ino" mapc #[(f) "\302!?\205 \303\304 \"!\207" [f org-babel-temporary-directory file-directory-p delete-file expand-file-name] 4] directory-files file-name-directory nil generate-new-buffer " *temp file*" t #[nil "\301!\205 \302!\207" [#1=#:temp-buffer buffer-name kill-buffer] 2] write-region 0 org-babel-eval " --upload " "" code src-file #1# #2=#:temp-file] 8 (#$ . 663)]) (byte-code "\300\301\302\"\210\303\304!\207" [eval-after-load org #[nil "\300\301\302\"\207" [add-to-list org-src-lang-modes ("arduino" . arduino)] 3] provide ob-arduino] 3)