summaryrefslogtreecommitdiff
path: root/demos/RPi
diff options
context:
space:
mode:
authorJorawar Singh2017-07-16 22:17:43 +0530
committerJorawar Singh2017-07-16 22:36:51 +0530
commitd9d92203ea349d5eb44c0edc5565d827322caabe (patch)
tree9bf874443e6e5a8ccd8fba3f5918297d95a194e8 /demos/RPi
parentce5c0f9d407d533364e9e7adc81e4d338e031383 (diff)
downloadScilab2C_fossee_old-d9d92203ea349d5eb44c0edc5565d827322caabe.tar.gz
Scilab2C_fossee_old-d9d92203ea349d5eb44c0edc5565d827322caabe.tar.bz2
Scilab2C_fossee_old-d9d92203ea349d5eb44c0edc5565d827322caabe.zip
Toolbox merge, RPI demos and structured demos
Diffstat (limited to 'demos/RPi')
-rw-r--r--demos/RPi/RPi.dem.gateway.sce17
-rw-r--r--demos/RPi/test_wait_and_blink.dem.sce19
2 files changed, 36 insertions, 0 deletions
diff --git a/demos/RPi/RPi.dem.gateway.sce b/demos/RPi/RPi.dem.gateway.sce
new file mode 100644
index 0000000..29d4c71
--- /dev/null
+++ b/demos/RPi/RPi.dem.gateway.sce
@@ -0,0 +1,17 @@
+// 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, Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+subdemolist = ["Wait and Blink","test_wait_and_blink.dem.sce";
+ ];
+
+global SCI2CHOME;
+subdemolist(:,2) = SCI2CHOME + "/demos/RPi/"+ subdemolist(:,2);
diff --git a/demos/RPi/test_wait_and_blink.dem.sce b/demos/RPi/test_wait_and_blink.dem.sce
new file mode 100644
index 0000000..31396c6
--- /dev/null
+++ b/demos/RPi/test_wait_and_blink.dem.sce
@@ -0,0 +1,19 @@
+// 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, Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+//
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME + "/tests/unit_tests/test_RPi/wait_and_blink.sci", TMPDIR,SCI2CHOME + "/tests/unit_tests/test_RPi/", "All", "make" ,"RPi", "uno");
+
+editor([TMPDIR+"/main.c"]);