diff options
author | Jorawar Singh | 2017-07-16 22:17:43 +0530 |
---|---|---|
committer | Jorawar Singh | 2017-07-16 22:36:51 +0530 |
commit | 5120257de94783e808523343effda00243ad6611 (patch) | |
tree | 6f36c2738140c12510710ad4af4891ca68200bc0 /2.3-1/demos/Arduino | |
parent | 2e35a1f26a7ec9e4466a5e0448f9a868aa801471 (diff) | |
download | Scilab2C-5120257de94783e808523343effda00243ad6611.tar.gz Scilab2C-5120257de94783e808523343effda00243ad6611.tar.bz2 Scilab2C-5120257de94783e808523343effda00243ad6611.zip |
Toolbox merge, RPI demos and structured demos
Diffstat (limited to '2.3-1/demos/Arduino')
-rw-r--r-- | 2.3-1/demos/Arduino/Arduino.dem.gateway.sce | 22 | ||||
-rw-r--r-- | 2.3-1/demos/Arduino/analog_in_out_volt.dem.sce | 7 | ||||
-rw-r--r-- | 2.3-1/demos/Arduino/analog_out.dem.sce | 7 | ||||
-rw-r--r-- | 2.3-1/demos/Arduino/blink.dem.sce | 7 | ||||
-rw-r--r-- | 2.3-1/demos/Arduino/dc_motor.dem.sce | 7 | ||||
-rw-r--r-- | 2.3-1/demos/Arduino/digital_in.dem.sce | 7 | ||||
-rw-r--r-- | 2.3-1/demos/Arduino/master_write.dem.sce | 7 |
7 files changed, 64 insertions, 0 deletions
diff --git a/2.3-1/demos/Arduino/Arduino.dem.gateway.sce b/2.3-1/demos/Arduino/Arduino.dem.gateway.sce new file mode 100644 index 00000000..417291ac --- /dev/null +++ b/2.3-1/demos/Arduino/Arduino.dem.gateway.sce @@ -0,0 +1,22 @@ +// Copyright (C) 2017 - IIT Bombay - FOSSEE +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt +// Author: Jorawar Singh, Yash Pratap Singh Tomar +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + + +subdemolist = ["Arduino blink", "blink.dem.sce"; + "Arduino digital input", "digital_in.dem.sce"; + "Arduino analog voltage i/o", "analog_in_out_volt.dem.sce"; + "Arduino analog output", "analog_out.dem.sce"; + "Arduino DC motor", "dc_motor.dem.sce"; + "Arduino Master write", "master_write.dem.sce"; + ]; + +global SCI2CHOME; +subdemolist(:,2) = SCI2CHOME + "/demos/Arduino/"+ subdemolist(:,2); diff --git a/2.3-1/demos/Arduino/analog_in_out_volt.dem.sce b/2.3-1/demos/Arduino/analog_in_out_volt.dem.sce new file mode 100644 index 00000000..ca6da611 --- /dev/null +++ b/2.3-1/demos/Arduino/analog_in_out_volt.dem.sce @@ -0,0 +1,7 @@ +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/analog_in_check_volt.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); + +editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/2.3-1/demos/Arduino/analog_out.dem.sce b/2.3-1/demos/Arduino/analog_out.dem.sce new file mode 100644 index 00000000..65a1e279 --- /dev/null +++ b/2.3-1/demos/Arduino/analog_out.dem.sce @@ -0,0 +1,7 @@ +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/analog_check.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); + +editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/2.3-1/demos/Arduino/blink.dem.sce b/2.3-1/demos/Arduino/blink.dem.sce new file mode 100644 index 00000000..b01d3dae --- /dev/null +++ b/2.3-1/demos/Arduino/blink.dem.sce @@ -0,0 +1,7 @@ +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/blink_13.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); + +editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/2.3-1/demos/Arduino/dc_motor.dem.sce b/2.3-1/demos/Arduino/dc_motor.dem.sce new file mode 100644 index 00000000..36c0badd --- /dev/null +++ b/2.3-1/demos/Arduino/dc_motor.dem.sce @@ -0,0 +1,7 @@ +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/board_test_release2.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); + +editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/2.3-1/demos/Arduino/digital_in.dem.sce b/2.3-1/demos/Arduino/digital_in.dem.sce new file mode 100644 index 00000000..2eb4c3a0 --- /dev/null +++ b/2.3-1/demos/Arduino/digital_in.dem.sce @@ -0,0 +1,7 @@ +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/digital_in_check.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); + +editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/2.3-1/demos/Arduino/master_write.dem.sce b/2.3-1/demos/Arduino/master_write.dem.sce new file mode 100644 index 00000000..cdf522db --- /dev/null +++ b/2.3-1/demos/Arduino/master_write.dem.sce @@ -0,0 +1,7 @@ +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/i2c_master.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); + +editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); |