summaryrefslogtreecommitdiff
path: root/demos/RPi
diff options
context:
space:
mode:
authorJorawar Singh2017-07-16 22:17:43 +0530
committerJorawar Singh2017-07-16 22:17:43 +0530
commit550bca9f6e005872e654bc96b0b477cf502d814f (patch)
treefbc38869310f062b7237096760d1f516cec77211 /demos/RPi
parentd13b41b79200c533efad1f5dcc8803ca510ae1be (diff)
downloadscilab2c-550bca9f6e005872e654bc96b0b477cf502d814f.tar.gz
scilab2c-550bca9f6e005872e654bc96b0b477cf502d814f.tar.bz2
scilab2c-550bca9f6e005872e654bc96b0b477cf502d814f.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 00000000..29d4c710
--- /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 00000000..31396c60
--- /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"]);