aboutsummaryrefslogtreecommitdiffstats
path: root/drv_MatrixOrbital.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-21 12:36:19 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-21 12:36:19 +0000
commit05ff9fc0c4691e4f60e9daa642eda28b34c02394 (patch)
treebdaba83d7de4fc6e1c155054ba214f5f6f6b21a6 /drv_MatrixOrbital.c
parent725e33942be7f6481baa128a966f57a62cce59cf (diff)
downloadlcd4linux-05ff9fc0c4691e4f60e9daa642eda28b34c02394.tar.gz
[lcd4linux @ 2004-01-21 12:36:19 by reinelt]
Crystalfontz NextGeneration driver added git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@332 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_MatrixOrbital.c')
-rw-r--r--drv_MatrixOrbital.c23
1 files changed, 13 insertions, 10 deletions
diff --git a/drv_MatrixOrbital.c b/drv_MatrixOrbital.c
index 5c916e1..3a20bfb 100644
--- a/drv_MatrixOrbital.c
+++ b/drv_MatrixOrbital.c
@@ -1,4 +1,4 @@
-/* $Id: drv_MatrixOrbital.c,v 1.14 2004/01/20 15:32:49 reinelt Exp $
+/* $Id: drv_MatrixOrbital.c,v 1.15 2004/01/21 12:36:19 reinelt Exp $
*
* new style driver for Matrix Orbital serial display modules
*
@@ -23,6 +23,9 @@
*
*
* $Log: drv_MatrixOrbital.c,v $
+ * Revision 1.15 2004/01/21 12:36:19 reinelt
+ * Crystalfontz NextGeneration driver added
+ *
* Revision 1.14 2004/01/20 15:32:49 reinelt
* first version of Next Generation HD44780 (untested! but it compiles...)
* some cleanup in the other drivers
@@ -164,6 +167,15 @@ static MODEL Models[] = {
// *** hardware dependant functions ***
// ****************************************
+static void drv_MO_goto (int row, int col)
+{
+ char cmd[5]="\376Gyx";
+ cmd[2]=(char)col+1;
+ cmd[3]=(char)row+1;
+ drv_generic_serial_write(cmd,4);
+}
+
+
static void drv_MO_define_char (int ascii, char *buffer)
{
char cmd[3]="\376N";
@@ -174,15 +186,6 @@ static void drv_MO_define_char (int ascii, char *buffer)
}
-static void drv_MO_goto (int row, int col)
-{
- char cmd[5]="\376Gyx";
- cmd[2]=(char)col+1;
- cmd[3]=(char)row+1;
- drv_generic_serial_write(cmd,4);
-}
-
-
static int drv_MO_start (char *section)
{
int i;