summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/scilab-arduino
diff options
context:
space:
mode:
authorsiddhu89902015-09-11 02:28:56 +0530
committersiddhu89902015-09-11 02:28:56 +0530
commited0947602f9b92489be97219e36eb284804dab0a (patch)
tree0972e6c28e60c026fb4e84d9e7ed6b0f922e6066 /2.3-1/src/c/scilab-arduino
parent48097fd488521bbb915c301a313ca0a7f0b6eb17 (diff)
downloadScilab2C-ed0947602f9b92489be97219e36eb284804dab0a.tar.gz
Scilab2C-ed0947602f9b92489be97219e36eb284804dab0a.tar.bz2
Scilab2C-ed0947602f9b92489be97219e36eb284804dab0a.zip
Changes made for making directory 'arduino' in output folder'
Diffstat (limited to '2.3-1/src/c/scilab-arduino')
-rw-r--r--2.3-1/src/c/scilab-arduino/default_files/Makefile10
-rw-r--r--2.3-1/src/c/scilab-arduino/default_files/sci2c_arduino.ino12
2 files changed, 22 insertions, 0 deletions
diff --git a/2.3-1/src/c/scilab-arduino/default_files/Makefile b/2.3-1/src/c/scilab-arduino/default_files/Makefile
new file mode 100644
index 00000000..7d74195e
--- /dev/null
+++ b/2.3-1/src/c/scilab-arduino/default_files/Makefile
@@ -0,0 +1,10 @@
+# Arduino Make file. Refer to https://github.com/sudar/Arduino-Makefile
+
+ARDUINO_DIR = /usr/share/arduino
+ARDMK_DIR = /usr/share/arduino
+AVR_TOOLS_DIR = /usr
+BOARD_TAG = atmega328
+USER_LIB_PATH = ../../
+ARDUINO_LIBS = src/c includes interfaces ../Temp
+ARDUINO_PORT = /dev/ttyUSB0
+include /usr/share/arduino/Arduino.mk
diff --git a/2.3-1/src/c/scilab-arduino/default_files/sci2c_arduino.ino b/2.3-1/src/c/scilab-arduino/default_files/sci2c_arduino.ino
new file mode 100644
index 00000000..9e9d9b6e
--- /dev/null
+++ b/2.3-1/src/c/scilab-arduino/default_files/sci2c_arduino.ino
@@ -0,0 +1,12 @@
+#include "Arduino.h"
+#include <loop_arduino.h>
+
+void setup()
+{
+ //Please write appropriate setup functions here.
+}
+int i = 0;
+void loop()
+{
+ loop_arduino();
+}