summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/hardware/rasberrypi/lcd128x64
diff options
context:
space:
mode:
authorSiddhesh Wani2017-07-04 19:55:17 +0530
committerGitHub2017-07-04 19:55:17 +0530
commite7a1a9bd776aa3ebdd13aea4d4ef838e65acb34c (patch)
tree749b476d7653774c918af42ebd952d4050ed49b6 /2.3-1/src/c/hardware/rasberrypi/lcd128x64
parentc66867c874436fb37ef54c67b048885ce094e894 (diff)
parent8889f4a5edad040f47c3fcb717053352ab0d05b8 (diff)
downloadScilab2C-e7a1a9bd776aa3ebdd13aea4d4ef838e65acb34c.tar.gz
Scilab2C-e7a1a9bd776aa3ebdd13aea4d4ef838e65acb34c.tar.bz2
Scilab2C-e7a1a9bd776aa3ebdd13aea4d4ef838e65acb34c.zip
Merge pull request #13 from jschandi/master
Fixed standalone conversion errors with RPi files
Diffstat (limited to '2.3-1/src/c/hardware/rasberrypi/lcd128x64')
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64Orientation.c17
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64circle.c17
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64clear.c17
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64ellipse.c17
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64line.c17
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64lineTo.c17
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64point.c17
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64putchar.c17
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64puts.c17
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64rectangle.c17
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setOrigin.c17
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setup.c19
12 files changed, 206 insertions, 0 deletions
diff --git a/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64Orientation.c b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64Orientation.c
new file mode 100644
index 00000000..52391029
--- /dev/null
+++ b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64Orientation.c
@@ -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
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
+#include "RPIPeripheralLCD128x64.h"
+
+void u8RPI_lcd128x64Orientations(uint8 orientation){
+ lcd128x64setOrientation(orientation);
+}
diff --git a/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64circle.c b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64circle.c
new file mode 100644
index 00000000..9019d8f4
--- /dev/null
+++ b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64circle.c
@@ -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
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
+#include "RPIPeripheralLCD128x64.h"
+
+void u8RPI_lcd128x64circles(uint8 x,uint8 y,uint8 r,uint8 colour,uint8 filled){
+ lcd128x64circle(x,y,r,colour,filled);
+}
diff --git a/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64clear.c b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64clear.c
new file mode 100644
index 00000000..a83cef25
--- /dev/null
+++ b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64clear.c
@@ -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
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
+#include "RPIPeripheralLCD128x64.h"
+
+void u8RPI_lcd128x64clears(uint8 colour){
+ lcd128x64clear(colour);
+}
diff --git a/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64ellipse.c b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64ellipse.c
new file mode 100644
index 00000000..d2e2f542
--- /dev/null
+++ b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64ellipse.c
@@ -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
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
+#include "RPIPeripheralLCD128x64.h"
+
+void u8RPI_lcd128x64ellipses(uint8 cx, uint8 cy, uint8 xRadius, uint8 yRadius, uint8 colour, uint8 filled){
+ lcd128x64ellipse(cx,cy,xRadius,yRadius,colour,filled);
+}
diff --git a/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64line.c b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64line.c
new file mode 100644
index 00000000..f5850808
--- /dev/null
+++ b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64line.c
@@ -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
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
+#include "RPIPeripheralLCD128x64.h"
+
+void u8RPI_lcd128x64lines(uint8 x0, uint8 y0, uint8 x1, uint8 y1, uint8 colour){
+ lcd128x64line(x0,y0,x1,y1,colour);
+}
diff --git a/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64lineTo.c b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64lineTo.c
new file mode 100644
index 00000000..3f791f64
--- /dev/null
+++ b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64lineTo.c
@@ -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
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
+#include "RPIPeripheralLCD128x64.h"
+
+void u8RPI_lcd128x64lineTos(uint8 x, uint8 y, uint8 colour){
+ lcd128x64lineTo(x,y,colour);
+}
diff --git a/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64point.c b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64point.c
new file mode 100644
index 00000000..a23cdddc
--- /dev/null
+++ b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64point.c
@@ -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
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
+#include "RPIPeripheralLCD128x64.h"
+
+void u8RPI_lcd128x64points(uint8 x,uint8 y,uint8 colour){
+ lcd128x64point(x,y,colour);
+}
diff --git a/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64putchar.c b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64putchar.c
new file mode 100644
index 00000000..2dadb448
--- /dev/null
+++ b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64putchar.c
@@ -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
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
+#include "RPIPeripheralLCD128x64.h"
+
+void u8RPI_lcd128x64putchars(uint8 x, uint8 y, uint8 c, uint8 bgCol, uint8 fgCol){
+ lcd128x64putchar(x,y,c,bgCol,fgCol);
+}
diff --git a/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64puts.c b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64puts.c
new file mode 100644
index 00000000..15c54da3
--- /dev/null
+++ b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64puts.c
@@ -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
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
+#include "RPIPeripheralLCD128x64.h"
+
+void u8RPI_lcd128x64putss(uint8 x, uint8 y, char* str,int size, uint8 bgCol, uint8 fgCol){
+ lcd128x64puts(x,y,str,bgCol,fgCol);
+}
diff --git a/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64rectangle.c b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64rectangle.c
new file mode 100644
index 00000000..78239d9f
--- /dev/null
+++ b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64rectangle.c
@@ -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
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
+#include "RPIPeripheralLCD128x64.h"
+
+void u8RPI_lcd128x64rectangles(uint8 x1,uint8 y1,uint8 x2,uint8 y2,uint8 colour,uint8 filled){
+ lcd128x64rectangle(x1,y1,x2,y2,colour,filled);
+}
diff --git a/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setOrigin.c b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setOrigin.c
new file mode 100644
index 00000000..c4b19391
--- /dev/null
+++ b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setOrigin.c
@@ -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
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
+#include "RPIPeripheralLCD128x64.h"
+
+void u8RPI_lcd128x64setOrigins(uint8 x,uint8 y){
+ lcd128x64setOrigin(x,y);
+}
diff --git a/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setup.c b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setup.c
new file mode 100644
index 00000000..8f6e6b6f
--- /dev/null
+++ b/2.3-1/src/c/hardware/rasberrypi/lcd128x64/RPI_lcd128x64setup.c
@@ -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
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
+#include "RPIPeripheralLCD128x64.h"
+
+int8 RPI_lcd128x64setup(){
+ int8 out;
+ out=lcd128x64setup();
+ return (out);
+}