summaryrefslogtreecommitdiff
path: root/demos/RPi
diff options
context:
space:
mode:
Diffstat (limited to 'demos/RPi')
-rw-r--r--demos/RPi/RPi.dem.gateway.sce1
-rw-r--r--demos/RPi/test_lcd.dem.sce19
2 files changed, 20 insertions, 0 deletions
diff --git a/demos/RPi/RPi.dem.gateway.sce b/demos/RPi/RPi.dem.gateway.sce
index 29d4c71..c125e9c 100644
--- a/demos/RPi/RPi.dem.gateway.sce
+++ b/demos/RPi/RPi.dem.gateway.sce
@@ -11,6 +11,7 @@
subdemolist = ["Wait and Blink","test_wait_and_blink.dem.sce";
+ "LCD","test_lcd.dem.sce"
];
global SCI2CHOME;
diff --git a/demos/RPi/test_lcd.dem.sce b/demos/RPi/test_lcd.dem.sce
new file mode 100644
index 0000000..2bd1951
--- /dev/null
+++ b/demos/RPi/test_lcd.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/lcd.sci", TMPDIR,SCI2CHOME + "/tests/unit_tests/test_RPi/", "All", "make" ,"RPi", "uno");
+
+editor([TMPDIR+"/main.c"]);