diff options
author | Martin Hammerschmid <linux@home.pages.at> | 2002-10-06 08:54:21 +0200 |
---|---|---|
committer | Martin Hammerschmid <linux@home.pages.at> | 2002-10-06 08:54:21 +0200 |
commit | 575800cfff3962e6beb609052668586a1a8e0b75 (patch) | |
tree | 7300c9a170f266017000ff9fc84cdf6a8abce414 | |
parent | 601b9ddb03c7ebd0a10c40aa1e88d405935fa7b6 (diff) | |
download | vdr-plugin-lcdproc-575800cfff3962e6beb609052668586a1a8e0b75.tar.gz vdr-plugin-lcdproc-575800cfff3962e6beb609052668586a1a8e0b75.tar.bz2 |
Version 0.0.6v0.0.6release/v0.0.6
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | README | 18 | ||||
-rw-r--r-- | i18n.c | 128 | ||||
-rw-r--r-- | lcd.c | 60 | ||||
-rw-r--r-- | lcdkeyconf.h | 8 | ||||
-rw-r--r-- | lcdproc.c | 61 | ||||
-rw-r--r-- | lcdtranstbl-CFontz.h | 265 | ||||
-rw-r--r-- | lcdtranstbl-hd44780.h | 265 | ||||
-rw-r--r-- | lcdtranstbl-nomap.h | 264 | ||||
-rw-r--r-- | lcdtranstbl.h | 804 | ||||
-rw-r--r-- | setup.c | 15 | ||||
-rw-r--r-- | setup.h | 20 |
12 files changed, 1072 insertions, 843 deletions
@@ -36,14 +36,9 @@ INCLUDES = -I$(VDRINC) -I$(DVBDIR) DEFINES = -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -ifndef LCDTRANS -LCDTRANS = hd44780 -endif -DEFINES += -DLCD_$(LCDTRANS) - ### The object files (add further files here): -OBJS = $(PLUGIN).o lcd.o sockets.o i18n.o +OBJS = $(PLUGIN).o lcd.o sockets.o i18n.o setup.o ### The C++ compiler and options: @@ -17,20 +17,22 @@ vdr -Plcdproc or -P"lcdproc -h <host> -p <port>" ... makes vdr connect to a LCDd Current channel info and menus are then displayed on the LCD too. I had a 4x20 character display in mind but it should -work with 4x16 up to 4x40. +work with 4x16 up to 4x40 and 2x40. LCDd can be used in an xterm or console too, so it might be useful even without having the hardware. ( ./LCDd -d curses ) -lcdtranstbl-xxx.h is used to map characters for output to LCDd. +lcdtranstbl.h is used to map characters for output to LCDd. Depending on the LCD hardware some characters may not displayed -correctly, you can fix that by altering this table ... -use lcdtranstbl-nomap.h if you don't want anything mapped. -what table is used can be selected at compile time: -e.g. ... LCDTRANS=CFontz make plugins ... -values for LCDTRANS are 'hd44780', 'CFontz' and 'nomap' ('hd44780' is the default value). -Thanks to Stephan Schreiber <stephan@sschreiber.de> for lcdtranstbl-CFontz.h. +correctly, you can fix that by selecting a in the setup menu: (Charmap) + +0 ... nomap no mapping, useful for the curses driver +1 ... hd44780 +2 ... CFontz Thanks to Stephan Schreiber <stephan@sschreiber.de> + +lcdkeyconf.h is used to configure the plugin for a keypad. + LCDproc is available at http://lcdproc.omnipotent.net/ or here http://sourceforge.net/projects/lcdproc/ @@ -33,5 +33,133 @@ const tI18nPhrase Phrases[] = { "Scanning for EPG info.",// TODO "Scanning for EPG info.",// TODO }, + { "FullCycle", + "FullCycle",// TODO + "FullCycle",// TODO + "FullCycle",// TODO + "FullCycle",// TODO + "FullCycle",// TODO + "FullCycle",// TODO + "FullCycle",// TODO + "FullCycle",// TODO + "FullCycle",// TODO + "FullCycle",// TODO + "FullCycle",// TODO + "FullCycle",// TODO + "FullCycle",// TODO + "FullCycle",// TODO + }, + { "TimeDateCycle", + "TimeDateCycle",// TODO + "TimeDateCycle",// TODO + "TimeDateCycle",// TODO + "TimeDateCycle",// TODO + "TimeDateCycle",// TODO + "TimeDateCycle",// TODO + "TimeDateCycle",// TODO + "TimeDateCycle",// TODO + "TimeDateCycle",// TODO + "TimeDateCycle",// TODO + "TimeDateCycle",// TODO + "TimeDateCycle",// TODO + "TimeDateCycle",// TODO + "TimeDateCycle",// TODO + }, + { "VolumeKeep", + "VolumeKeep",// TODO + "VolumeKeep",// TODO + "VolumeKeep",// TODO + "VolumeKeep",// TODO + "VolumeKeep",// TODO + "VolumeKeep",// TODO + "VolumeKeep",// TODO + "VolumeKeep",// TODO + "VolumeKeep",// TODO + "VolumeKeep",// TODO + "VolumeKeep",// TODO + "VolumeKeep",// TODO + "VolumeKeep",// TODO + "VolumeKeep",// TODO + }, + { "Scrollwait", + "Scrollwait",// TODO + "Scrollwait",// TODO + "Scrollwait",// TODO + "Scrollwait",// TODO + "Scrollwait",// TODO + "Scrollwait",// TODO + "Scrollwait",// TODO + "Scrollwait",// TODO + "Scrollwait",// TODO + "Scrollwait",// TODO + "Scrollwait",// TODO + "Scrollwait",// TODO + "Scrollwait",// TODO + "Scrollwait",// TODO + }, + { "Scrollspeed", + "Scrollspeed",// TODO + "Scrollspeed",// TODO + "Scrollspeed",// TODO + "Scrollspeed",// TODO + "Scrollspeed",// TODO + "Scrollspeed",// TODO + "Scrollspeed",// TODO + "Scrollspeed",// TODO + "Scrollspeed",// TODO + "Scrollspeed",// TODO + "Scrollspeed",// TODO + "Scrollspeed",// TODO + "Scrollspeed",// TODO + "Scrollspeed",// TODO + }, + { "Charmap", + "Charmap",// TODO + "Charmap",// TODO + "Charmap",// TODO + "Charmap",// TODO + "Charmap",// TODO + "Charmap",// TODO + "Charmap",// TODO + "Charmap",// TODO + "Charmap",// TODO + "Charmap",// TODO + "Charmap",// TODO + "Charmap",// TODO + "Charmap",// TODO + "Charmap",// TODO + }, + { "AltShift", + "AltShift",// TODO + "AltShift",// TODO + "AltShift",// TODO + "AltShift",// TODO + "AltShift",// TODO + "AltShift",// TODO + "AltShift",// TODO + "AltShift",// TODO + "AltShift",// TODO + "AltShift",// TODO + "AltShift",// TODO + "AltShift",// TODO + "AltShift",// TODO + "AltShift",// TODO + }, + { "BackLight", + "BackLight",// TODO + "BackLight",// TODO + "BackLight",// TODO + "BackLight",// TODO + "BackLight",// TODO + "BackLight",// TODO + "BackLight",// TODO + "BackLight",// TODO + "BackLight",// TODO + "BackLight",// TODO + "BackLight",// TODO + "BackLight",// TODO + "BackLight",// TODO + "BackLight",// TODO + }, { NULL } }; @@ -7,21 +7,14 @@ #include <vdr/config.h> #include <vdr/tools.h> #include <vdr/remote.h> +#include "setup.h" #include "lcd.h" #include "sockets.h" #include "lcdkeyconf.h" #include "i18n.h" // character mapping for output, see cLcd::Write -#ifdef LCD_hd44780 -#include "lcdtranstbl-hd44780.h" // hd44780 output -#endif -#ifdef LCD_CFontz -#include "lcdtranstbl-CFontz.h" // CFontz output thanks to Stephan Schreiber. -#endif -#ifdef LCD_nomap -#include "lcdtranstbl-nomap.h" // unmapped output (usable for curses output) -#endif +#include "lcdtranstbl.h" #define LCDMENU 0 #define LCDTITLE 1 @@ -509,14 +502,11 @@ void cLcd::Write(int line, const char *string) { // used for any text output to } out=strlen(workstring); for (i=0;(i<strlen(string)) && (i<wid);i++) - workstring[out++] = LcdTransTbl[ (unsigned char) string[i] ]; // char mapping see lcdtranstbl.h + workstring[out++] = LcdTransTbl[LcdSetup.Charmap][ (unsigned char) string[i] ]; // char mapping see lcdtranstbl.h workstring[out++] = '"'; workstring[out++] = '\n'; workstring[out] = '\0'; sock_send_string(sock,workstring); } -#define FullCycle 10 // seconds -#define TimeCycle 7 // seconds - void cLcd::GetTimeDateStat( char *string, unsigned int OutStateData[] ) { time_t t; struct tm *now; @@ -531,7 +521,7 @@ void cLcd::GetTimeDateStat( char *string, unsigned int OutStateData[] ) { t = time(NULL); now = localtime(&t); - if ( offset || !( ShowStates && ((t%FullCycle) >= TimeCycle) )) { + if ( offset || !( ShowStates && ((t%LcdSetup.FullCycle) >= LcdSetup.TimeCycle) )) { if (wid > 19) snprintf(string,wid+1,"<%s %02d.%02d %02d:%02d:%02d>", WeekDayName(now->tm_wday), now->tm_mday, now->tm_mon+1, now->tm_hour, now->tm_min,now->tm_sec); @@ -540,7 +530,7 @@ void cLcd::GetTimeDateStat( char *string, unsigned int OutStateData[] ) { now->tm_mday, now->tm_mon+1, now->tm_hour, now->tm_min,now->tm_sec); } - if ( offset || ( ShowStates && ((t%FullCycle) >= TimeCycle) )) { + if ( offset || ( ShowStates && ((t%LcdSetup.FullCycle) >= LcdSetup.TimeCycle) )) { for (i=0; i<LCDMAXCARDS; i++) { snprintf(string+offset,5," %d:%c", i,States[ OutStateData[i] ] ); offset+=4; @@ -550,18 +540,23 @@ void cLcd::GetTimeDateStat( char *string, unsigned int OutStateData[] ) { } #define WakeUpCycle 125000 // us -#define VolumeKeep 1500000 // us void cLcd::Action(void) { // LCD output thread unsigned int i,j, barx=1, bary=1, barl=0, ScrollState=0, ScrollLine=1; - int Current=0, Total=1, scrollpos=0,scrollspeed=3,scrollcnt=0, scrollwait=10, scrollwaitcnt=10; + int Current=0, Total=1, scrollpos=0, scrollcnt=0, scrollwaitcnt=10, lastAltShift=0, lastBackLight; struct timeval now, voltime; char workstring[256]; cLcd::ThreadStates PrevState=Menu; struct cLcd::StateData OutStateData; bool Lcddirty[LCDMAXSTATES][4]; bool LcdShiftkeyPressed=false; - + + // backlight init + if ((lastBackLight=LcdSetup.BackLight)) + sock_send_string(sock,"backlight on\n"); + else + sock_send_string(sock,"backlight off\n"); + syslog(LOG_INFO, "LCD output thread started (pid=%d), display size: %dx%d", getpid(),hgt,wid); cLcd::Write(1," Welcome to V D R\0"); cLcd::Write(2,"--------------------\0"); @@ -624,7 +619,7 @@ void cLcd::Action(void) { // LCD output thread BeginMutualExclusion(); // all data needed for output are copied here memcpy(&OutStateData,&ThreadStateData, sizeof (cLcd::StateData)); ThreadStateData.showvolume=false; - if (ThreadStateData.newscroll) { scrollpos=0; scrollwaitcnt=scrollwait; ThreadStateData.newscroll=false; } + if (ThreadStateData.newscroll) { scrollpos=0; scrollwaitcnt=LcdSetup.Scrollwait; ThreadStateData.newscroll=false; } for (i=0;i<LCDMAXSTATES;i++) for (j=0;j<4;j++) { ThreadStateData.lcddirty[i][j]=false; Lcddirty[i][j]= Lcddirty[i][j] || OutStateData.lcddirty[i][j]; @@ -649,10 +644,10 @@ void cLcd::Action(void) { // LCD output thread } if ( ( strlen(OutStateData.lcdfullbuffer[ScrollState]) > (2*wid+3) ) - && !(scrollcnt=(scrollcnt+1)%scrollspeed) ) { - if ( (scrollpos) || (scrollwaitcnt-- < 1) ) { + && ( (scrollpos) || !(scrollwaitcnt=(scrollwaitcnt+1)%LcdSetup.Scrollwait) ) ) { + if ( !(scrollcnt=(scrollcnt+1)%LcdSetup.Scrollspeed) ) { scrollpos=(scrollpos+1)%strlen(OutStateData.lcdfullbuffer[ScrollState]); - if ( scrollpos==1 ) scrollwaitcnt=scrollwait; + if ( scrollpos==1 ) scrollwaitcnt=1; for (i=0; i<wid; i++) { OutStateData.lcdbuffer[ScrollState][ScrollLine][i]= OutStateData.lcdfullbuffer[ScrollState][(scrollpos+i)%strlen(OutStateData.lcdfullbuffer[ScrollState])]; @@ -672,7 +667,7 @@ void cLcd::Action(void) { // LCD output thread if (OutStateData.showvolume) gettimeofday(&voltime,NULL); if ( voltime.tv_sec != 0) { // volume - if ( ((now.tv_sec - voltime.tv_sec)*1000000+now.tv_usec-voltime.tv_usec ) > 1500000 ) { + if ( ((now.tv_sec - voltime.tv_sec)*1000000+now.tv_usec-voltime.tv_usec ) > (100000*LcdSetup.VolumeKeep) ) { voltime.tv_sec=0; OutStateData.barx=1; OutStateData.bary=1; OutStateData.barl=0; volume=false; } else { @@ -755,7 +750,26 @@ void cLcd::Action(void) { // LCD output thread barx=OutStateData.barx; bary=OutStateData.bary; barl=OutStateData.barl; } + // backlight + + if ( lastBackLight != LcdSetup.BackLight) { + lastBackLight=LcdSetup.BackLight; + if (lastBackLight) + sock_send_string(sock,"backlight on\n"); + else + sock_send_string(sock,"backlight off\n"); + } + // keys + + if ( LcdMaxKeys && (lastAltShift != LcdSetup.AltShift) ) { + lastAltShift=LcdSetup.AltShift; + if (lastAltShift) + sock_send_string(sock,"screen_set VDR -heartbeat slash\n"); + else + sock_send_string(sock,"screen_set VDR -heartbeat heart\n"); + } + workstring[0]='\0'; sock_recv(sock, workstring, 256); if ( LcdMaxKeys && ( strlen(workstring) > 4 ) ) { for (i=0; i < (strlen(workstring)-4); i++ ) { diff --git a/lcdkeyconf.h b/lcdkeyconf.h index 50e52ee..1146c25 100644 --- a/lcdkeyconf.h +++ b/lcdkeyconf.h @@ -1,6 +1,9 @@ +#ifndef LCD_KEYTBL_H +#define LCD_KEYTBL_H // LCDproc keys -const unsigned int LcdMaxKeys = 25; +const unsigned int LcdMaxKeys = 0; +//const unsigned int LcdMaxKeys = 25; const unsigned char LcdShiftKey = '#'; const unsigned char LcdUsedKeys[] = @@ -25,3 +28,6 @@ const eKeys LcdShiftMap[] = kNone, kNone, kNone, kNone, kNone, kNone, kNone, kNone, kNone, kNone, kNone, kPower, kNone, kNone, kNone }; + +#endif + @@ -11,20 +11,14 @@ #include <vdr/plugin.h> #include <vdr/status.h> #include <vdr/recording.h> +#include "setup.h" #include "i18n.h" #include "lcd.h" +#include "lcdtranstbl.h" -static const char *VERSION = "0.0.5"; +static const char *VERSION = "0.0.6"; static const char *MAINMENUENTRY = NULL; -#ifdef LCD_hd44780 -static const char *DESCRIPTION = "LCDproc using hd44780 output-mapping"; -#endif -#ifdef LCD_CFontz -static const char *DESCRIPTION = "LCDproc using CFontz output-mapping"; -#endif -#ifdef LCD_nomap -static const char *DESCRIPTION = "LCDproc using no output-mapping"; -#endif +static const char *DESCRIPTION = "LCDproc output"; cLcd *LCDproc = new cLcd; bool replaymode=false; @@ -291,16 +285,61 @@ cOsdMenu *cPluginLcd::MainMenuAction(void) return NULL; } +class cMenuSetupLcd : public cMenuSetupPage { + private: + cLcdSetup newLcdSetup; + protected: + virtual void Store(void); + public: + cMenuSetupLcd(void); +}; + +cMenuSetupLcd::cMenuSetupLcd(void) +{ + newLcdSetup=LcdSetup; + Add(new cMenuEditIntItem( tr("FullCycle"), &newLcdSetup.FullCycle,LcdSetup.TimeCycle,999)); + Add(new cMenuEditIntItem( tr("TimeDateCycle"), &newLcdSetup.TimeCycle,0,LcdSetup.FullCycle)); + Add(new cMenuEditIntItem( tr("VolumeKeep"), &newLcdSetup.VolumeKeep,0,999)); + Add(new cMenuEditIntItem( tr("Scrollwait"), &newLcdSetup.Scrollwait,1,999)); + Add(new cMenuEditIntItem( tr("Scrollspeed"), &newLcdSetup.Scrollspeed,1,999)); + Add(new cMenuEditIntItem( tr("Charmap"), &newLcdSetup.Charmap,0,LCDMAXTRANSTBL-1 )); + Add(new cMenuEditBoolItem( tr("AltShift"), &newLcdSetup.AltShift)); + Add(new cMenuEditBoolItem( tr("BackLight"), &newLcdSetup.BackLight)); +} + +void cMenuSetupLcd::Store(void) +{ + SetupStore("FullCycle", LcdSetup.FullCycle = newLcdSetup.FullCycle); + SetupStore("TimeCycle", LcdSetup.TimeCycle = newLcdSetup.TimeCycle); + SetupStore("VolumeKeep", LcdSetup.VolumeKeep = newLcdSetup.VolumeKeep); + SetupStore("Scrollwait", LcdSetup.Scrollwait = newLcdSetup.Scrollwait); + SetupStore("Scrollspeed", LcdSetup.Scrollspeed = newLcdSetup.Scrollspeed); + SetupStore("Charmap", LcdSetup.Charmap = newLcdSetup.Charmap); + SetupStore("AltShift", LcdSetup.AltShift = newLcdSetup.AltShift); + SetupStore("BackLight", LcdSetup.BackLight = newLcdSetup.BackLight); +} + + cMenuSetupPage *cPluginLcd::SetupMenu(void) { // Return a setup menu in case the plugin supports one. - return NULL; + return new cMenuSetupLcd; } bool cPluginLcd::SetupParse(const char *Name, const char *Value) { // Parse your own setup parameters and store their values. + if (!strcasecmp(Name, "FullCycle")) LcdSetup.FullCycle = atoi(Value); + else if (!strcasecmp(Name, "TimeCycle")) LcdSetup.TimeCycle = atoi(Value); + else if (!strcasecmp(Name, "VolumeKeep")) LcdSetup.VolumeKeep = atoi(Value); + else if (!strcasecmp(Name, "Scrollwait")) LcdSetup.Scrollwait = atoi(Value); + else if (!strcasecmp(Name, "Scrollspeed")) LcdSetup.Scrollspeed = atoi(Value); + else if (!strcasecmp(Name, "Charmap")) LcdSetup.Charmap = atoi(Value); + else if (!strcasecmp(Name, "AltShift")) LcdSetup.AltShift = atoi(Value); + else if (!strcasecmp(Name, "BackLight")) LcdSetup.BackLight = atoi(Value); + else return false; + return true; } VDRPLUGINCREATOR(cPluginLcd); // Don't touch this! diff --git a/lcdtranstbl-CFontz.h b/lcdtranstbl-CFontz.h deleted file mode 100644 index 0086a33..0000000 --- a/lcdtranstbl-CFontz.h +++ /dev/null @@ -1,265 +0,0 @@ -/* -lcdtranstbl-CFontz.h -this table is used to map characters for output to -a Crystal Fontz LCD to display some special characters correctly. -newline,tab and friends are mapped to ' ' -*/ - -const unsigned char LcdTransTbl[256]={ -/* 0 ( '^@') */ (unsigned char) 0, -/* 1 ( '^A') */ (unsigned char) 1, -/* 2 ( '^B') */ (unsigned char) 2, -/* 3 ( '^C') */ (unsigned char) 3, -/* 4 ( '^D') */ (unsigned char) 4, -/* 5 ( '^E') */ (unsigned char) 5, -/* 6 ( '^F') */ (unsigned char) 6, -/* 7 ( '^G') */ (unsigned char) 7, -/* 8 ( '^H') */ (unsigned char) 8, -/* 9 ( '' ) */ (unsigned char) 32, -/* 10 ( '' ) */ (unsigned char) 32, -/* 11 ( '^K') */ (unsigned char) 32, -/* 12 ( '^L') */ (unsigned char) 32, -/* 13 ( '^M') */ (unsigned char) 32, -/* 14 ( '^N') */ (unsigned char) 14, -/* 15 ( '^O') */ (unsigned char) 15, -/* 16 ( '^P') */ (unsigned char) 16, -/* 17 ( '^Q') */ (unsigned char) 17, -/* 18 ( '^R') */ (unsigned char) 18, -/* 19 ( '^S') */ (unsigned char) 19, -/* 20 ( '^T') */ (unsigned char) 20, -/* 21 ( '^U') */ (unsigned char) 21, -/* 22 ( '^V') */ (unsigned char) 22, -/* 23 ( '^W') */ (unsigned char) 23, -/* 24 ( '^X') */ (unsigned char) 24, -/* 25 ( '^Y') */ (unsigned char) 25, -/* 26 ( '^Z') */ (unsigned char) 26, -/* 27 ( '^[') */ (unsigned char) 27, -/* 28 ( '^\') */ (unsigned char) 28, -/* 29 ( '^]') */ (unsigned char) 29, -/* 30 ( '^^') */ (unsigned char) 30, -/* 31 ( '^_') */ (unsigned char) 31, -/* 32 ( ' ' ) */ (unsigned char) 32, -/* 33 ( '!' ) */ (unsigned char) 33, -/* 34 ( '"' ) */ (unsigned char) 39, -/* 35 ( '#' ) */ (unsigned char) 35, -/* 36 ( '$' ) */ (unsigned char) 36, -/* 37 ( '%' ) */ (unsigned char) 37, -/* 38 ( '&' ) */ (unsigned char) 38, -/* 39 ( ''' ) */ (unsigned char) 39, -/* 40 ( '(' ) */ (unsigned char) 40, -/* 41 ( ')' ) */ (unsigned char) 41, -/* 42 ( '*' ) */ (unsigned char) 42, -/* 43 ( '+' ) */ (unsigned char) 43, -/* 44 ( ',' ) */ (unsigned char) 44, -/* 45 ( '-' ) */ (unsigned char) 45, -/* 46 ( '.' ) */ (unsigned char) 46, -/* 47 ( '/' ) */ (unsigned char) 47, -/* 48 ( '0' ) */ (unsigned char) 48, -/* 49 ( '1' ) */ (unsigned char) 49, -/* 50 ( '2' ) */ (unsigned char) 50, -/* 51 ( '3' ) */ (unsigned char) 51, -/* 52 ( '4' ) */ (unsigned char) 52, -/* 53 ( '5' ) */ (unsigned char) 53, -/* 54 ( '6' ) */ (unsigned char) 54, -/* 55 ( '7' ) */ (unsigned char) 55, -/* 56 ( '8' ) */ (unsigned char) 56, -/* 57 ( '9' ) */ (unsigned char) 57, -/* 58 ( ':' ) */ (unsigned char) 58, -/* 59 ( ';' ) */ (unsigned char) 59, -/* 60 ( '<' ) */ (unsigned char) 60, -/* 61 ( '=' ) */ (unsigned char) 61, -/* 62 ( '>' ) */ (unsigned char) 62, -/* 63 ( '?' ) */ (unsigned char) 63, -/* 64 ( '@' ) */ (unsigned char) 160, -/* 65 ( 'A' ) */ (unsigned char) 65, -/* 66 ( 'B' ) */ (unsigned char) 66, -/* 67 ( 'C' ) */ (unsigned char) 67, -/* 68 ( 'D' ) */ (unsigned char) 68, -/* 69 ( 'E' ) */ (unsigned char) 69, -/* 70 ( 'F' ) */ (unsigned char) 70, -/* 71 ( 'G' ) */ (unsigned char) 71, -/* 72 ( 'H' ) */ (unsigned char) 72, -/* 73 ( 'I' ) */ (unsigned char) 73, -/* 74 ( 'J' ) */ (unsigned char) 74, -/* 75 ( 'K' ) */ (unsigned char) 75, -/* 76 ( 'L' ) */ (unsigned char) 76, -/* 77 ( 'M' ) */ (unsigned char) 77, -/* 78 ( 'N' ) */ (unsigned char) 78, -/* 79 ( 'O' ) */ (unsigned char) 79, -/* 80 ( 'P' ) */ (unsigned char) 80, -/* 81 ( 'Q' ) */ (unsigned char) 81, -/* 82 ( 'R' ) */ (unsigned char) 82, -/* 83 ( 'S' ) */ (unsigned char) 83, -/* 84 ( 'T' ) */ (unsigned char) 84, -/* 85 ( 'U' ) */ (unsigned char) 85, -/* 86 ( 'V' ) */ (unsigned char) 86, -/* 87 ( 'W' ) */ (unsigned char) 87, -/* 88 ( 'X' ) */ (unsigned char) 88, -/* 89 ( 'Y' ) */ (unsigned char) 89, -/* 90 ( 'Z' ) */ (unsigned char) 90, -/* 91 ( '[' ) */ (unsigned char) 250, -/* 92 ( '\' ) */ (unsigned char) 251, -/* 93 ( ']' ) */ (unsigned char) 252, -/* 94 ( '^' ) */ (unsigned char) 222, -/* 95 ( '_' ) */ (unsigned char) 196, -/* 96 ( '`' ) */ (unsigned char) 39, -/* 97 ( 'a' ) */ (unsigned char) 97, -/* 98 ( 'b' ) */ (unsigned char) 98, -/* 99 ( 'c' ) */ (unsigned char) 99, -/* 100 ( 'd' ) */ (unsigned char) 100, -/* 101 ( 'e' ) */ (unsigned char) 101, -/* 102 ( 'f' ) */ (unsigned char) 102, -/* 103 ( 'g' ) */ (unsigned char) 103, -/* 104 ( 'h' ) */ (unsigned char) 104, -/* 105 ( 'i' ) */ (unsigned char) 105, -/* 106 ( 'j' ) */ (unsigned char) 106, -/* 107 ( 'k' ) */ (unsigned char) 107, -/* 108 ( 'l' ) */ (unsigned char) 108, -/* 109 ( 'm' ) */ (unsigned char) 109, -/* 110 ( 'n' ) */ (unsigned char) 110, -/* 111 ( 'o' ) */ (unsigned char) 111, -/* 112 ( 'p' ) */ (unsigned char) 112, -/* 113 ( 'q' ) */ (unsigned char) 113, -/* 114 ( 'r' ) */ (unsigned char) 114, -/* 115 ( 's' ) */ (unsigned char) 115, -/* 116 ( 't' ) */ (unsigned char) 116, -/* 117 ( 'u' ) */ (unsigned char) 117, -/* 118 ( 'v' ) */ (unsigned char) 118, -/* 119 ( 'w' ) */ (unsigned char) 119, -/* 120 ( 'x' ) */ (unsigned char) 120, -/* 121 ( 'y' ) */ (unsigned char) 121, -/* 122 ( 'z' ) */ (unsigned char) 122, -/* 123 ( '{' ) */ (unsigned char) 253, -/* 124 ( '|' ) */ (unsigned char) 221, -/* 125 ( '}' ) */ (unsigned char) 255, -/* 126 ( '~' ) */ (unsigned char) 206, -/* 127 ( '^?') */ (unsigned char) 127, -/* 128 ( '~@') */ (unsigned char) 128, -/* 129 ( '~A') */ (unsigned char) 129, -/* 130 ( '~B') */ (unsigned char) 130, -/* 131 ( '~C') */ (unsigned char) 131, -/* 132 ( '~D') */ (unsigned char) 132, -/* 133 ( '~E') */ (unsigned char) 133, -/* 134 ( '~F') */ (unsigned char) 134, -/* 135 ( '~G') */ (unsigned char) 135, -/* 136 ( '~H') */ (unsigned char) 136, -/* 137 ( '~I') */ (unsigned char) 137, -/* 138 ( '~J') */ (unsigned char) 138, -/* 139 ( '~K') */ (unsigned char) 139, -/* 140 ( '~L') */ (unsigned char) 140, -/* 141 ( '~M') */ (unsigned char) 141, -/* 142 ( '~N') */ (unsigned char) 142, -/* 143 ( '~O') */ (unsigned char) 143, -/* 144 ( '~P') */ (unsigned char) 144, -/* 145 ( '~Q') */ (unsigned char) 145, -/* 146 ( '~R') */ (unsigned char) 146, -/* 147 ( '~S') */ (unsigned char) 147, -/* 148 ( '~T') */ (unsigned char) 148, -/* 149 ( '~U') */ (unsigned char) 149, -/* 150 ( '~V') */ (unsigned char) 150, -/* 151 ( '~W') */ (unsigned char) 151, -/* 152 ( '~X') */ (unsigned char) 152, -/* 153 ( '~Y') */ (unsigned char) 153, -/* 154 ( '~Z') */ (unsigned char) 154, -/* 155 ( '~[') */ (unsigned char) 155, -/* 156 ( '~\') */ (unsigned char) 156, -/* 157 ( '~]') */ (unsigned char) 157, -/* 158 ( '~^') */ (unsigned char) 158, -/* 159 ( '~_') */ (unsigned char) 159, -/* 160 ( '| ') */ (unsigned char) 160, -/* 161 ( '¡' ) */ (unsigned char) 64, -/* 162 ( '¢' ) */ (unsigned char) 177, -/* 163 ( '£' ) */ (unsigned char) 161, -/* 164 ( '¤' ) */ (unsigned char) 36, -/* 165 ( '¥' ) */ (unsigned char) 163, -/* 166 ( '¦' ) */ (unsigned char) 254, -/* 167 ( '§' ) */ (unsigned char) 95, -/* 168 ( '¨' ) */ (unsigned char) 221, -/* 169 ( '©' ) */ (unsigned char) 171, -/* 170 ( 'ª' ) */ (unsigned char) 170, -/* 171 ( '«' ) */ (unsigned char) 171, -/* 172 ( '¬' ) */ (unsigned char) 172, -/* 173 ( '' ) */ (unsigned char) 173, -/* 174 ( '®' ) */ (unsigned char) 174, -/* 175 ( '¯' ) */ (unsigned char) 175, -/* 176 ( '°' ) */ (unsigned char) 207, -/* 177 ( '±' ) */ (unsigned char) 140, -/* 178 ( '²' ) */ (unsigned char) 130, -/* 179 ( '³' ) */ (unsigned char) 131, -/* 180 ( '´' ) */ (unsigned char) 39, -/* 181 ( 'µ' ) */ (unsigned char) 143, -/* 182 ( '¶' ) */ (unsigned char) 182, -/* 183 ( '·' ) */ (unsigned char) 183, -/* 184 ( '¸' ) */ (unsigned char) 184, -/* 185 ( '¹' ) */ (unsigned char) 129, -/* 186 ( 'º' ) */ (unsigned char) 221, -/* 187 ( '»' ) */ (unsigned char) 187, -/* 188 ( '¼' ) */ (unsigned char) 139, -/* 189 ( '½' ) */ (unsigned char) 138, -/* 190 ( '¾' ) */ (unsigned char) 190, -/* 191 ( '¿' ) */ (unsigned char) 96, -/* 192 ( 'À' ) */ (unsigned char) 65, -/* 193 ( 'Á' ) */ (unsigned char) 226, -/* 194 ( 'Â' ) */ (unsigned char) 65, -/* 195 ( 'Ã' ) */ (unsigned char) 65, -/* 196 ( 'Ä' ) */ (unsigned char) 91, -/* 197 ( 'Å' ) */ (unsigned char) 174, -/* 198 ( 'Æ' ) */ (unsigned char) 188, -/* 199 ( 'Ç' ) */ (unsigned char) 169, -/* 200 ( 'È' ) */ (unsigned char) 197, -/* 201 ( 'É' ) */ (unsigned char) 191, -/* 202 ( 'Ê' ) */ (unsigned char) 198, -/* 203 ( 'Ë' ) */ (unsigned char) 69, -/* 204 ( 'Ì' ) */ (unsigned char) 73, -/* 205 ( 'Í' ) */ (unsigned char) 227, -/* 206 ( 'Î' ) */ (unsigned char) 73, -/* 207 ( 'Ï' ) */ (unsigned char) 73, -/* 208 ( 'Ð' ) */ (unsigned char) 68, -/* 209 ( 'Ñ' ) */ (unsigned char) 43, -/* 210 ( 'Ò' ) */ (unsigned char) 168, -/* 211 ( 'Ó' ) */ (unsigned char) 228, -/* 212 ( 'Ô' ) */ (unsigned char) 236, -/* 213 ( 'Õ' ) */ (unsigned char) 79, -/* 214 ( 'Ö' ) */ (unsigned char) 92, -/* 215 ( '×' ) */ (unsigned char) 120, -/* 216 ( 'Ø' ) */ (unsigned char) 171, -/* 217 ( 'Ù' ) */ (unsigned char) 85, -/* 218 ( 'Ú' ) */ (unsigned char) 229, -/* 219 ( 'Û' ) */ (unsigned char) 85, -/* 220 ( 'Ü' ) */ (unsigned char) 94, -/* 221 ( 'Ý' ) */ (unsigned char) 250, -/* 222 ( 'Þ' ) */ (unsigned char) 178, -/* 223 ( 'ß' ) */ (unsigned char) 190, -/* 224 ( 'à' ) */ (unsigned char) 127, -/* 225 ( 'á' ) */ (unsigned char) 231, -/* 226 ( 'â' ) */ (unsigned char) 97, -/* 227 ( 'ã' ) */ (unsigned char) 97, -/* 228 ( 'ä' ) */ (unsigned char) 123, -/* 229 ( 'å' ) */ (unsigned char) 175, -/* 230 ( 'æ' ) */ (unsigned char) 189, -/* 231 ( 'ç' ) */ (unsigned char) 200, -/* 232 ( 'è' ) */ (unsigned char) 164, -/* 233 ( 'é' ) */ (unsigned char) 165, -/* 234 ( 'ê' ) */ (unsigned char) 199, -/* 235 ( 'ë' ) */ (unsigned char) 101, -/* 236 ( 'ì' ) */ (unsigned char) 167, -/* 237 ( 'í' ) */ (unsigned char) 232, -/* 238 ( 'î' ) */ (unsigned char) 105, -/* 239 ( 'ï' ) */ (unsigned char) 105, -/* 240 ( 'ð' ) */ (unsigned char) 158, -/* 241 ( 'ñ' ) */ (unsigned char) 125, -/* 242 ( 'ò' ) */ (unsigned char) 168, -/* 243 ( 'ó' ) */ (unsigned char) 228, -/* 244 ( 'ô' ) */ (unsigned char) 237, -/* 245 ( 'õ' ) */ (unsigned char) 237, -/* 246 ( 'ö' ) */ (unsigned char) 124, -/* 247 ( '÷' ) */ (unsigned char) 47, -/* 248 ( 'ø' ) */ (unsigned char) 172, -/* 249 ( 'ù' ) */ (unsigned char) 166, -/* 250 ( 'ú' ) */ (unsigned char) 234, -/* 251 ( 'û' ) */ (unsigned char) 239, -/* 252 ( 'ü' ) */ (unsigned char) 126, -/* 253 ( 'ý' ) */ (unsigned char) 235, -/* 254 ( 'þ' ) */ (unsigned char) 178, -/* 255 ( 'ÿ' ) */ (unsigned char) 183}; - diff --git a/lcdtranstbl-hd44780.h b/lcdtranstbl-hd44780.h deleted file mode 100644 index 783836a..0000000 --- a/lcdtranstbl-hd44780.h +++ /dev/null @@ -1,265 +0,0 @@ -/* -lcdtranstbl-hd44780.h -this table is used to map characters for output to -a hd44780 LCD to display some special characters correctly. -newline,tab and friends are mapped to ' ' -*/ - -const unsigned char LcdTransTbl[256]={ -/* 0 ( '^@') */ (unsigned char) 0, -/* 1 ( '^A') */ (unsigned char) 1, -/* 2 ( '^B') */ (unsigned char) 2, -/* 3 ( '^C') */ (unsigned char) 3, -/* 4 ( '^D') */ (unsigned char) 4, -/* 5 ( '^E') */ (unsigned char) 5, -/* 6 ( '^F') */ (unsigned char) 6, -/* 7 ( '^G') */ (unsigned char) 7, -/* 8 ( '^H') */ (unsigned char) 8, -/* 9 ( '' ) */ (unsigned char) 32, -/* 10 ( '' ) */ (unsigned char) 32, -/* 11 ( '^K') */ (unsigned char) 32, -/* 12 ( '^L') */ (unsigned char) 32, -/* 13 ( '^M') */ (unsigned char) 32, -/* 14 ( '^N') */ (unsigned char) 14, -/* 15 ( '^O') */ (unsigned char) 15, -/* 16 ( '^P') */ (unsigned char) 16, -/* 17 ( '^Q') */ (unsigned char) 17, -/* 18 ( '^R') */ (unsigned char) 18, -/* 19 ( '^S') */ (unsigned char) 19, -/* 20 ( '^T') */ (unsigned char) 20, -/* 21 ( '^U') */ (unsigned char) 21, -/* 22 ( '^V') */ (unsigned char) 22, -/* 23 ( '^W') */ (unsigned char) 23, -/* 24 ( '^X') */ (unsigned char) 24, -/* 25 ( '^Y') */ (unsigned char) 25, -/* 26 ( '^Z') */ (unsigned char) 26, -/* 27 ( '^[') */ (unsigned char) 27, -/* 28 ( '^\') */ (unsigned char) 28, -/* 29 ( '^]') */ (unsigned char) 29, -/* 30 ( '^^') */ (unsigned char) 30, -/* 31 ( '^_') */ (unsigned char) 31, -/* 32 ( ' ' ) */ (unsigned char) 32, -/* 33 ( '!' ) */ (unsigned char) 33, -/* 34 ( '"' ) */ (unsigned char) 39, -/* 35 ( '#' ) */ (unsigned char) 35, -/* 36 ( '$' ) */ (unsigned char) 36, -/* 37 ( '%' ) */ (unsigned char) 37, -/* 38 ( '&' ) */ (unsigned char) 38, -/* 39 ( ''' ) */ (unsigned char) 39, -/* 40 ( '(' ) */ (unsigned char) 40, -/* 41 ( ')' ) */ (unsigned char) 41, -/* 42 ( '*' ) */ (unsigned char) 42, -/* 43 ( '+' ) */ (unsigned char) 43, -/* 44 ( ',' ) */ (unsigned char) 44, -/* 45 ( '-' ) */ (unsigned char) 45, -/* 46 ( '.' ) */ (unsigned char) 46, -/* 47 ( '/' ) */ (unsigned char) 47, -/* 48 ( '0' ) */ (unsigned char) 48, -/* 49 ( '1' ) */ (unsigned char) 49, -/* 50 ( '2' ) */ (unsigned char) 50, -/* 51 ( '3' ) */ (unsigned char) 51, -/* 52 ( '4' ) */ (unsigned char) 52, -/* 53 ( '5' ) */ (unsigned char) 53, -/* 54 ( '6' ) */ (unsigned char) 54, -/* 55 ( '7' ) */ (unsigned char) 55, -/* 56 ( '8' ) */ (unsigned char) 56, -/* 57 ( '9' ) */ (unsigned char) 57, -/* 58 ( ':' ) */ (unsigned char) 58, -/* 59 ( ';' ) */ (unsigned char) 59, -/* 60 ( '<' ) */ (unsigned char) 60, -/* 61 ( '=' ) */ (unsigned char) 61, -/* 62 ( '>' ) */ (unsigned char) 62, -/* 63 ( '?' ) */ (unsigned char) 63, -/* 64 ( '@' ) */ (unsigned char) 64, -/* 65 ( 'A' ) */ (unsigned char) 65, -/* 66 ( 'B' ) */ (unsigned char) 66, -/* 67 ( 'C' ) */ (unsigned char) 67, -/* 68 ( 'D' ) */ (unsigned char) 68, -/* 69 ( 'E' ) */ (unsigned char) 69, -/* 70 ( 'F' ) */ (unsigned char) 70, -/* 71 ( 'G' ) */ (unsigned char) 71, -/* 72 ( 'H' ) */ (unsigned char) 72, -/* 73 ( 'I' ) */ (unsigned char) 73, -/* 74 ( 'J' ) */ (unsigned char) 74, -/* 75 ( 'K' ) */ (unsigned char) 75, -/* 76 ( 'L' ) */ (unsigned char) 76, -/* 77 ( 'M' ) */ (unsigned char) 77, -/* 78 ( 'N' ) */ (unsigned char) 78, -/* 79 ( 'O' ) */ (unsigned char) 79, -/* 80 ( 'P' ) */ (unsigned char) 80, -/* 81 ( 'Q' ) */ (unsigned char) 81, -/* 82 ( 'R' ) */ (unsigned char) 82, -/* 83 ( 'S' ) */ (unsigned char) 83, -/* 84 ( 'T' ) */ (unsigned char) 84, -/* 85 ( 'U' ) */ (unsigned char) 85, -/* 86 ( 'V' ) */ (unsigned char) 86, -/* 87 ( 'W' ) */ (unsigned char) 87, -/* 88 ( 'X' ) */ (unsigned char) 88, -/* 89 ( 'Y' ) */ (unsigned char) 89, -/* 90 ( 'Z' ) */ (unsigned char) 90, -/* 91 ( '[' ) */ (unsigned char) 91, -/* 92 ( '\' ) */ (unsigned char) 92, -/* 93 ( ']' ) */ (unsigned char) 93, -/* 94 ( '^' ) */ (unsigned char) 94, -/* 95 ( '_' ) */ (unsigned char) 95, -/* 96 ( '`' ) */ (unsigned char) 96, -/* 97 ( 'a' ) */ (unsigned char) 97, -/* 98 ( 'b' ) */ (unsigned char) 98, -/* 99 ( 'c' ) */ (unsigned char) 99, -/* 100 ( 'd' ) */ (unsigned char) 100, -/* 101 ( 'e' ) */ (unsigned char) 101, -/* 102 ( 'f' ) */ (unsigned char) 102, -/* 103 ( 'g' ) */ (unsigned char) 103, -/* 104 ( 'h' ) */ (unsigned char) 104, -/* 105 ( 'i' ) */ (unsigned char) 105, -/* 106 ( 'j' ) */ (unsigned char) 106, -/* 107 ( 'k' ) */ (unsigned char) 107, -/* 108 ( 'l' ) */ (unsigned char) 108, -/* 109 ( 'm' ) */ (unsigned char) 109, -/* 110 ( 'n' ) */ (unsigned char) 110, -/* 111 ( 'o' ) */ (unsigned char) 111, -/* 112 ( 'p' ) */ (unsigned char) 112, -/* 113 ( 'q' ) */ (unsigned char) 113, -/* 114 ( 'r' ) */ (unsigned char) 114, -/* 115 ( 's' ) */ (unsigned char) 115, -/* 116 ( 't' ) */ (unsigned char) 116, -/* 117 ( 'u' ) */ (unsigned char) 117, -/* 118 ( 'v' ) */ (unsigned char) 118, -/* 119 ( 'w' ) */ (unsigned char) 119, -/* 120 ( 'x' ) */ (unsigned char) 120, -/* 121 ( 'y' ) */ (unsigned char) 121, -/* 122 ( 'z' ) */ (unsigned char) 122, -/* 123 ( '{' ) */ (unsigned char) 123, -/* 124 ( '|' ) */ (unsigned char) 124, -/* 125 ( '}' ) */ (unsigned char) 125, -/* 126 ( '~' ) */ (unsigned char) 126, -/* 127 ( '^?') */ (unsigned char) 127, -/* 128 ( '~@') */ (unsigned char) 128, -/* 129 ( '~A') */ (unsigned char) 129, -/* 130 ( '~B') */ (unsigned char) 130, -/* 131 ( '~C') */ (unsigned char) 131, -/* 132 ( '~D') */ (unsigned char) 132, -/* 133 ( '~E') */ (unsigned char) 133, -/* 134 ( '~F') */ (unsigned char) 134, -/* 135 ( '~G') */ (unsigned char) 135, -/* 136 ( '~H') */ (unsigned char) 136, -/* 137 ( '~I') */ (unsigned char) 137, -/* 138 ( '~J') */ (unsigned char) 138, -/* 139 ( '~K') */ (unsigned char) 139, -/* 140 ( '~L') */ (unsigned char) 140, -/* 141 ( '~M') */ (unsigned char) 141, -/* 142 ( '~N') */ (unsigned char) 142, -/* 143 ( '~O') */ (unsigned char) 143, -/* 144 ( '~P') */ (unsigned char) 144, -/* 145 ( '~Q') */ (unsigned char) 145, -/* 146 ( '~R') */ (unsigned char) 146, -/* 147 ( '~S') */ (unsigned char) 147, -/* 148 ( '~T') */ (unsigned char) 148, -/* 149 ( '~U') */ (unsigned char) 149, -/* 150 ( '~V') */ (unsigned char) 150, -/* 151 ( '~W') */ (unsigned char) 151, -/* 152 ( '~X') */ (unsigned char) 152, -/* 153 ( '~Y') */ (unsigned char) 153, -/* 154 ( '~Z') */ (unsigned char) 154, -/* 155 ( '~[') */ (unsigned char) 155, -/* 156 ( '~\') */ (unsigned char) 156, -/* 157 ( '~]') */ (unsigned char) 157, -/* 158 ( '~^') */ (unsigned char) 158, -/* 159 ( '~_') */ (unsigned char) 159, -/* 160 ( '| ') */ (unsigned char) 160, -/* 161 ( '¡' ) */ (unsigned char) 161, -/* 162 ( '¢' ) */ (unsigned char) 162, -/* 163 ( '£' ) */ (unsigned char) 163, -/* 164 ( '¤' ) */ (unsigned char) 164, -/* 165 ( '¥' ) */ (unsigned char) 92, -/* 166 ( '¦' ) */ (unsigned char) 166, -/* 167 ( '§' ) */ (unsigned char) 167, -/* 168 ( '¨' ) */ (unsigned char) 168, -/* 169 ( '©' ) */ (unsigned char) 67, -/* 170 ( 'ª' ) */ (unsigned char) 170, -/* 171 ( '«' ) */ (unsigned char) 171, -/* 172 ( '¬' ) */ (unsigned char) 172, -/* 173 ( '' ) */ (unsigned char) 173, -/* 174 ( '®' ) */ (unsigned char) 174, -/* 175 ( '¯' ) */ (unsigned char) 175, -/* 176 ( '°' ) */ (unsigned char) 223, -/* 177 ( '±' ) */ (unsigned char) 177, -/* 178 ( '²' ) */ (unsigned char) 50, -/* 179 ( '³' ) */ (unsigned char) 51, -/* 180 ( '´' ) */ (unsigned char) 180, -/* 181 ( 'µ' ) */ (unsigned char) 228, -/* 182 ( '¶' ) */ (unsigned char) 182, -/* 183 ( '·' ) */ (unsigned char) 183, -/* 184 ( '¸' ) */ (unsigned char) 184, -/* 185 ( '¹' ) */ (unsigned char) 185, -/* 186 ( 'º' ) */ (unsigned char) 223, -/* 187 ( '»' ) */ (unsigned char) 187, -/* 188 ( '¼' ) */ (unsigned char) 188, -/* 189 ( '½' ) */ (unsigned char) 189, -/* 190 ( '¾' ) */ (unsigned char) 190, -/* 191 ( '¿' ) */ (unsigned char) 191, -/* 192 ( 'À' ) */ (unsigned char) 65, -/* 193 ( 'Á' ) */ (unsigned char) 65, -/* 194 ( 'Â' ) */ (unsigned char) 65, -/* 195 ( 'Ã' ) */ (unsigned char) 65, -/* 196 ( 'Ä' ) */ (unsigned char) 225, -/* 197 ( 'Å' ) */ (unsigned char) 65, -/* 198 ( 'Æ' ) */ (unsigned char) 225, -/* 199 ( 'Ç' ) */ (unsigned char) 67, -/* 200 ( 'È' ) */ (unsigned char) 69, -/* 201 ( 'É' ) */ (unsigned char) 69, -/* 202 ( 'Ê' ) */ (unsigned char) 69, -/* 203 ( 'Ë' ) */ (unsigned char) 69, -/* 204 ( 'Ì' ) */ (unsigned char) 73, -/* 205 ( 'Í' ) */ (unsigned char) 73, -/* 206 ( 'Î' ) */ (unsigned char) 73, -/* 207 ( 'Ï' ) */ (unsigned char) 73, -/* 208 ( 'Ð' ) */ (unsigned char) 68, -/* 209 ( 'Ñ' ) */ (unsigned char) 78, -/* 210 ( 'Ò' ) */ (unsigned char) 79, -/* 211 ( 'Ó' ) */ (unsigned char) 79, -/* 212 ( 'Ô' ) */ (unsigned char) 79, -/* 213 ( 'Õ' ) */ (unsigned char) 79, -/* 214 ( 'Ö' ) */ (unsigned char) 239, -/* 215 ( '×' ) */ (unsigned char) 88, -/* 216 ( 'Ø' ) */ (unsigned char) 48, -/* 217 ( 'Ù' ) */ (unsigned char) 85, -/* 218 ( 'Ú' ) */ (unsigned char) 85, -/* 219 ( 'Û' ) */ (unsigned char) 85, -/* 220 ( 'Ü' ) */ (unsigned char) 245, -/* 221 ( 'Ý' ) */ (unsigned char) 89, -/* 222 ( 'Þ' ) */ (unsigned char) 222, -/* 223 ( 'ß' ) */ (unsigned char) 226, -/* 224 ( 'à' ) */ (unsigned char) 97, -/* 225 ( 'á' ) */ (unsigned char) 97, -/* 226 ( 'â' ) */ (unsigned char) 97, -/* 227 ( 'ã' ) */ (unsigned char) 97, -/* 228 ( 'ä' ) */ (unsigned char) 225, -/* 229 ( 'å' ) */ (unsigned char) 97, -/* 230 ( 'æ' ) */ (unsigned char) 230, -/* 231 ( 'ç' ) */ (unsigned char) 99, -/* 232 ( 'è' ) */ (unsigned char) 101, -/* 233 ( 'é' ) */ (unsigned char) 101, -/* 234 ( 'ê' ) */ (unsigned char) 101, -/* 235 ( 'ë' ) */ (unsigned char) 101, -/* 236 ( 'ì' ) */ (unsigned char) 105, -/* 237 ( 'í' ) */ (unsigned char) 105, -/* 238 ( 'î' ) */ (unsigned char) 105, -/* 239 ( 'ï' ) */ (unsigned char) 105, -/* 240 ( 'ð' ) */ (unsigned char) 100, -/* 241 ( 'ñ' ) */ (unsigned char) 110, -/* 242 ( 'ò' ) */ (unsigned char) 111, -/* 243 ( 'ó' ) */ (unsigned char) 111, -/* 244 ( 'ô' ) */ (unsigned char) 111, -/* 245 ( 'õ' ) */ (unsigned char) 111, -/* 246 ( 'ö' ) */ (unsigned char) 239, -/* 247 ( '÷' ) */ (unsigned char) 253, -/* 248 ( 'ø' ) */ (unsigned char) 248, -/* 249 ( 'ù' ) */ (unsigned char) 117, -/* 250 ( 'ú' ) */ (unsigned char) 117, -/* 251 ( 'û' ) */ (unsigned char) 117, -/* 252 ( 'ü' ) */ (unsigned char) 245, -/* 253 ( 'ý' ) */ (unsigned char) 121, -/* 254 ( 'þ' ) */ (unsigned char) 254, -/* 255 ( 'ÿ' ) */ (unsigned char) 121}; - diff --git a/lcdtranstbl-nomap.h b/lcdtranstbl-nomap.h deleted file mode 100644 index a232640..0000000 --- a/lcdtranstbl-nomap.h +++ /dev/null @@ -1,264 +0,0 @@ -/* -lcdtranstbl-nomap.h -nothing except '"' is mapped here, seems that somone does not understand '\"' ... -newline,tab and friends are mapped to ' ' -*/ - -const unsigned char LcdTransTbl[256]={ -/* 0 ( '^@') */ (unsigned char) 0, -/* 1 ( '^A') */ (unsigned char) 1, -/* 2 ( '^B') */ (unsigned char) 2, -/* 3 ( '^C') */ (unsigned char) 3, -/* 4 ( '^D') */ (unsigned char) 4, -/* 5 ( '^E') */ (unsigned char) 5, -/* 6 ( '^F') */ (unsigned char) 6, -/* 7 ( '^G') */ (unsigned char) 7, -/* 8 ( '^H') */ (unsigned char) 8, -/* 9 ( '' ) */ (unsigned char) 32, -/* 10 ( '' ) */ (unsigned char) 32, -/* 11 ( '^K') */ (unsigned char) 32, -/* 12 ( '^L') */ (unsigned char) 32, -/* 13 ( '^M') */ (unsigned char) 32, -/* 14 ( '^N') */ (unsigned char) 14, -/* 15 ( '^O') */ (unsigned char) 15, -/* 16 ( '^P') */ (unsigned char) 16, -/* 17 ( '^Q') */ (unsigned char) 17, -/* 18 ( '^R') */ (unsigned char) 18, -/* 19 ( '^S') */ (unsigned char) 19, -/* 20 ( '^T') */ (unsigned char) 20, -/* 21 ( '^U') */ (unsigned char) 21, -/* 22 ( '^V') */ (unsigned char) 22, -/* 23 ( '^W') */ (unsigned char) 23, -/* 24 ( '^X') */ (unsigned char) 24, -/* 25 ( '^Y') */ (unsigned char) 25, -/* 26 ( '^Z') */ (unsigned char) 26, -/* 27 ( '^[') */ (unsigned char) 27, -/* 28 ( '^\') */ (unsigned char) 28, -/* 29 ( '^]') */ (unsigned char) 29, -/* 30 ( '^^') */ (unsigned char) 30, -/* 31 ( '^_') */ (unsigned char) 31, -/* 32 ( ' ' ) */ (unsigned char) 32, -/* 33 ( '!' ) */ (unsigned char) 33, -/* 34 ( '"' ) */ (unsigned char) 39, -/* 35 ( '#' ) */ (unsigned char) 35, -/* 36 ( '$' ) */ (unsigned char) 36, -/* 37 ( '%' ) */ (unsigned char) 37, -/* 38 ( '&' ) */ (unsigned char) 38, -/* 39 ( ''' ) */ (unsigned char) 39, -/* 40 ( '(' ) */ (unsigned char) 40, -/* 41 ( ')' ) */ (unsigned char) 41, -/* 42 ( '*' ) */ (unsigned char) 42, -/* 43 ( '+' ) */ (unsigned char) 43, -/* 44 ( ',' ) */ (unsigned char) 44, -/* 45 ( '-' ) */ (unsigned char) 45, -/* 46 ( '.' ) */ (unsigned char) 46, -/* 47 ( '/' ) */ (unsigned char) 47, -/* 48 ( '0' ) */ (unsigned char) 48, -/* 49 ( '1' ) */ (unsigned char) 49, -/* 50 ( '2' ) */ (unsigned char) 50, -/* 51 ( '3' ) */ (unsigned char) 51, -/* 52 ( '4' ) */ (unsigned char) 52, -/* 53 ( '5' ) */ (unsigned char) 53, -/* 54 ( '6' ) */ (unsigned char) 54, -/* 55 ( '7' ) */ (unsigned char) 55, -/* 56 ( '8' ) */ (unsigned char) 56, -/* 57 ( '9' ) */ (unsigned char) 57, -/* 58 ( ':' ) */ (unsigned char) 58, -/* 59 ( ';' ) */ (unsigned char) 59, -/* 60 ( '<' ) */ (unsigned char) 60, -/* 61 ( '=' ) */ (unsigned char) 61, -/* 62 ( '>' ) */ (unsigned char) 62, -/* 63 ( '?' ) */ (unsigned char) 63, -/* 64 ( '@' ) */ (unsigned char) 64, -/* 65 ( 'A' ) */ (unsigned char) 65, -/* 66 ( 'B' ) */ (unsigned char) 66, -/* 67 ( 'C' ) */ (unsigned char) 67, -/* 68 ( 'D' ) */ (unsigned char) 68, -/* 69 ( 'E' ) */ (unsigned char) 69, -/* 70 ( 'F' ) */ (unsigned char) 70, -/* 71 ( 'G' ) */ (unsigned char) 71, -/* 72 ( 'H' ) */ (unsigned char) 72, -/* 73 ( 'I' ) */ (unsigned char) 73, -/* 74 ( 'J' ) */ (unsigned char) 74, -/* 75 ( 'K' ) */ (unsigned char) 75, -/* 76 ( 'L' ) */ (unsigned char) 76, -/* 77 ( 'M' ) */ (unsigned char) 77, -/* 78 ( 'N' ) */ (unsigned char) 78, -/* 79 ( 'O' ) */ (unsigned char) 79, -/* 80 ( 'P' ) */ (unsigned char) 80, -/* 81 ( 'Q' ) */ (unsigned char) 81, -/* 82 ( 'R' ) */ (unsigned char) 82, -/* 83 ( 'S' ) */ (unsigned char) 83, -/* 84 ( 'T' ) */ (unsigned char) 84, -/* 85 ( 'U' ) */ (unsigned char) 85, -/* 86 ( 'V' ) */ (unsigned char) 86, -/* 87 ( 'W' ) */ (unsigned char) 87, -/* 88 ( 'X' ) */ (unsigned char) 88, -/* 89 ( 'Y' ) */ (unsigned char) 89, -/* 90 ( 'Z' ) */ (unsigned char) 90, -/* 91 ( '[' ) */ (unsigned char) 91, -/* 92 ( '\' ) */ (unsigned char) 92, -/* 93 ( ']' ) */ (unsigned char) 93, -/* 94 ( '^' ) */ (unsigned char) 94, -/* 95 ( '_' ) */ (unsigned char) 95, -/* 96 ( '`' ) */ (unsigned char) 96, -/* 97 ( 'a' ) */ (unsigned char) 97, -/* 98 ( 'b' ) */ (unsigned char) 98, -/* 99 ( 'c' ) */ (unsigned char) 99, -/* 100 ( 'd' ) */ (unsigned char) 100, -/* 101 ( 'e' ) */ (unsigned char) 101, -/* 102 ( 'f' ) */ (unsigned char) 102, -/* 103 ( 'g' ) */ (unsigned char) 103, -/* 104 ( 'h' ) */ (unsigned char) 104, -/* 105 ( 'i' ) */ (unsigned char) 105, -/* 106 ( 'j' ) */ (unsigned char) 106, -/* 107 ( 'k' ) */ (unsigned char) 107, -/* 108 ( 'l' ) */ (unsigned char) 108, -/* 109 ( 'm' ) */ (unsigned char) 109, -/* 110 ( 'n' ) */ (unsigned char) 110, -/* 111 ( 'o' ) */ (unsigned char) 111, -/* 112 ( 'p' ) */ (unsigned char) 112, -/* 113 ( 'q' ) */ (unsigned char) 113, -/* 114 ( 'r' ) */ (unsigned char) 114, -/* 115 ( 's' ) */ (unsigned char) 115, -/* 116 ( 't' ) */ (unsigned char) 116, -/* 117 ( 'u' ) */ (unsigned char) 117, -/* 118 ( 'v' ) */ (unsigned char) 118, -/* 119 ( 'w' ) */ (unsigned char) 119, -/* 120 ( 'x' ) */ (unsigned char) 120, -/* 121 ( 'y' ) */ (unsigned char) 121, -/* 122 ( 'z' ) */ (unsigned char) 122, -/* 123 ( '{' ) */ (unsigned char) 123, -/* 124 ( '|' ) */ (unsigned char) 124, -/* 125 ( '}' ) */ (unsigned char) 125, -/* 126 ( '~' ) */ (unsigned char) 126, -/* 127 ( '^?') */ (unsigned char) 127, -/* 128 ( '~@') */ (unsigned char) 128, -/* 129 ( '~A') */ (unsigned char) 129, -/* 130 ( '~B') */ (unsigned char) 130, -/* 131 ( '~C') */ (unsigned char) 131, -/* 132 ( '~D') */ (unsigned char) 132, -/* 133 ( '~E') */ (unsigned char) 133, -/* 134 ( '~F') */ (unsigned char) 134, -/* 135 ( '~G') */ (unsigned char) 135, -/* 136 ( '~H') */ (unsigned char) 136, -/* 137 ( '~I') */ (unsigned char) 137, -/* 138 ( '~J') */ (unsigned char) 138, -/* 139 ( '~K') */ (unsigned char) 139, -/* 140 ( '~L') */ (unsigned char) 140, -/* 141 ( '~M') */ (unsigned char) 141, -/* 142 ( '~N') */ (unsigned char) 142, -/* 143 ( '~O') */ (unsigned char) 143, -/* 144 ( '~P') */ (unsigned char) 144, -/* 145 ( '~Q') */ (unsigned char) 145, -/* 146 ( '~R') */ (unsigned char) 146, -/* 147 ( '~S') */ (unsigned char) 147, -/* 148 ( '~T') */ (unsigned char) 148, -/* 149 ( '~U') */ (unsigned char) 149, -/* 150 ( '~V') */ (unsigned char) 150, -/* 151 ( '~W') */ (unsigned char) 151, -/* 152 ( '~X') */ (unsigned char) 152, -/* 153 ( '~Y') */ (unsigned char) 153, -/* 154 ( '~Z') */ (unsigned char) 154, -/* 155 ( '~[') */ (unsigned char) 155, -/* 156 ( '~\') */ (unsigned char) 156, -/* 157 ( '~]') */ (unsigned char) 157, -/* 158 ( '~^') */ (unsigned char) 158, -/* 159 ( '~_') */ (unsigned char) 159, -/* 160 ( '| ') */ (unsigned char) 160, -/* 161 ( '¡' ) */ (unsigned char) 161, -/* 162 ( '¢' ) */ (unsigned char) 162, -/* 163 ( '£' ) */ (unsigned char) 163, -/* 164 ( '¤' ) */ (unsigned char) 164, -/* 165 ( '¥' ) */ (unsigned char) 165, -/* 166 ( '¦' ) */ (unsigned char) 166, -/* 167 ( '§' ) */ (unsigned char) 167, -/* 168 ( '¨' ) */ (unsigned char) 168, -/* 169 ( '©' ) */ (unsigned char) 169, -/* 170 ( 'ª' ) */ (unsigned char) 170, -/* 171 ( '«' ) */ (unsigned char) 171, -/* 172 ( '¬' ) */ (unsigned char) 172, -/* 173 ( '' ) */ (unsigned char) 173, -/* 174 ( '®' ) */ (unsigned char) 174, -/* 175 ( '¯' ) */ (unsigned char) 175, -/* 176 ( '°' ) */ (unsigned char) 176, -/* 177 ( '±' ) */ (unsigned char) 177, -/* 178 ( '²' ) */ (unsigned char) 178, -/* 179 ( '³' ) */ (unsigned char) 179, -/* 180 ( '´' ) */ (unsigned char) 180, -/* 181 ( 'µ' ) */ (unsigned char) 181, -/* 182 ( '¶' ) */ (unsigned char) 182, -/* 183 ( '·' ) */ (unsigned char) 183, -/* 184 ( '¸' ) */ (unsigned char) 184, -/* 185 ( '¹' ) */ (unsigned char) 185, -/* 186 ( 'º' ) */ (unsigned char) 186, -/* 187 ( '»' ) */ (unsigned char) 187, -/* 188 ( '¼' ) */ (unsigned char) 188, -/* 189 ( '½' ) */ (unsigned char) 189, -/* 190 ( '¾' ) */ (unsigned char) 190, -/* 191 ( '¿' ) */ (unsigned char) 191, -/* 192 ( 'À' ) */ (unsigned char) 192, -/* 193 ( 'Á' ) */ (unsigned char) 193, -/* 194 ( 'Â' ) */ (unsigned char) 194, -/* 195 ( 'Ã' ) */ (unsigned char) 195, -/* 196 ( 'Ä' ) */ (unsigned char) 196, -/* 197 ( 'Å' ) */ (unsigned char) 197, -/* 198 ( 'Æ' ) */ (unsigned char) 198, -/* 199 ( 'Ç' ) */ (unsigned char) 199, -/* 200 ( 'È' ) */ (unsigned char) 200, -/* 201 ( 'É' ) */ (unsigned char) 201, -/* 202 ( 'Ê' ) */ (unsigned char) 202, -/* 203 ( 'Ë' ) */ (unsigned char) 203, -/* 204 ( 'Ì' ) */ (unsigned char) 204, -/* 205 ( 'Í' ) */ (unsigned char) 205, -/* 206 ( 'Î' ) */ (unsigned char) 206, -/* 207 ( 'Ï' ) */ (unsigned char) 207, -/* 208 ( 'Ð' ) */ (unsigned char) 208, -/* 209 ( 'Ñ' ) */ (unsigned char) 209, -/* 210 ( 'Ò' ) */ (unsigned char) 210, -/* 211 ( 'Ó' ) */ (unsigned char) 211, -/* 212 ( 'Ô' ) */ (unsigned char) 212, -/* 213 ( 'Õ' ) */ (unsigned char) 213, -/* 214 ( 'Ö' ) */ (unsigned char) 214, -/* 215 ( '×' ) */ (unsigned char) 215, -/* 216 ( 'Ø' ) */ (unsigned char) 216, -/* 217 ( 'Ù' ) */ (unsigned char) 217, -/* 218 ( 'Ú' ) */ (unsigned char) 218, -/* 219 ( 'Û' ) */ (unsigned char) 219, -/* 220 ( 'Ü' ) */ (unsigned char) 220, -/* 221 ( 'Ý' ) */ (unsigned char) 221, -/* 222 ( 'Þ' ) */ (unsigned char) 222, -/* 223 ( 'ß' ) */ (unsigned char) 223, -/* 224 ( 'à' ) */ (unsigned char) 224, -/* 225 ( 'á' ) */ (unsigned char) 225, -/* 226 ( 'â' ) */ (unsigned char) 226, -/* 227 ( 'ã' ) */ (unsigned char) 227, -/* 228 ( 'ä' ) */ (unsigned char) 228, -/* 229 ( 'å' ) */ (unsigned char) 229, -/* 230 ( 'æ' ) */ (unsigned char) 230, -/* 231 ( 'ç' ) */ (unsigned char) 231, -/* 232 ( 'è' ) */ (unsigned char) 232, -/* 233 ( 'é' ) */ (unsigned char) 233, -/* 234 ( 'ê' ) */ (unsigned char) 234, -/* 235 ( 'ë' ) */ (unsigned char) 235, -/* 236 ( 'ì' ) */ (unsigned char) 236, -/* 237 ( 'í' ) */ (unsigned char) 237, -/* 238 ( 'î' ) */ (unsigned char) 238, -/* 239 ( 'ï' ) */ (unsigned char) 239, -/* 240 ( 'ð' ) */ (unsigned char) 240, -/* 241 ( 'ñ' ) */ (unsigned char) 241, -/* 242 ( 'ò' ) */ (unsigned char) 242, -/* 243 ( 'ó' ) */ (unsigned char) 243, -/* 244 ( 'ô' ) */ (unsigned char) 244, -/* 245 ( 'õ' ) */ (unsigned char) 245, -/* 246 ( 'ö' ) */ (unsigned char) 246, -/* 247 ( '÷' ) */ (unsigned char) 247, -/* 248 ( 'ø' ) */ (unsigned char) 248, -/* 249 ( 'ù' ) */ (unsigned char) 249, -/* 250 ( 'ú' ) */ (unsigned char) 250, -/* 251 ( 'û' ) */ (unsigned char) 251, -/* 252 ( 'ü' ) */ (unsigned char) 252, -/* 253 ( 'ý' ) */ (unsigned char) 253, -/* 254 ( 'þ' ) */ (unsigned char) 254, -/* 255 ( 'ÿ' ) */ (unsigned char) 255}; - diff --git a/lcdtranstbl.h b/lcdtranstbl.h new file mode 100644 index 0000000..9acbf70 --- /dev/null +++ b/lcdtranstbl.h @@ -0,0 +1,804 @@ +#ifndef LCD_TRANSTBL_H +#define LCD_TRANSTBL_H + +#define LCDMAXTRANSTBL 3 + +const unsigned char LcdTransTbl[LCDMAXTRANSTBL][256]={ + +/* +lcdtranstbl-nomap.h +nothing except '"' is mapped here, seems that somone does not understand '\"' ... +newline,tab and friends are mapped to ' ' +*/ + +{ +/* 0 ( '^@') */ (unsigned char) 0, +/* 1 ( '^A') */ (unsigned char) 1, +/* 2 ( '^B') */ (unsigned char) 2, +/* 3 ( '^C') */ (unsigned char) 3, +/* 4 ( '^D') */ (unsigned char) 4, +/* 5 ( '^E') */ (unsigned char) 5, +/* 6 ( '^F') */ (unsigned char) 6, +/* 7 ( '^G') */ (unsigned char) 7, +/* 8 ( '^H') */ (unsigned char) 8, +/* 9 ( '' ) */ (unsigned char) 32, +/* 10 ( '' ) */ (unsigned char) 32, +/* 11 ( '^K') */ (unsigned char) 32, +/* 12 ( '^L') */ (unsigned char) 32, +/* 13 ( '^M') */ (unsigned char) 32, +/* 14 ( '^N') */ (unsigned char) 14, +/* 15 ( '^O') */ (unsigned char) 15, +/* 16 ( '^P') */ (unsigned char) 16, +/* 17 ( '^Q') */ (unsigned char) 17, +/* 18 ( '^R') */ (unsigned char) 18, +/* 19 ( '^S') */ (unsigned char) 19, +/* 20 ( '^T') */ (unsigned char) 20, +/* 21 ( '^U') */ (unsigned char) 21, +/* 22 ( '^V') */ (unsigned char) 22, +/* 23 ( '^W') */ (unsigned char) 23, +/* 24 ( '^X') */ (unsigned char) 24, +/* 25 ( '^Y') */ (unsigned char) 25, +/* 26 ( '^Z') */ (unsigned char) 26, +/* 27 ( '^[') */ (unsigned char) 27, +/* 28 ( '^\') */ (unsigned char) 28, +/* 29 ( '^]') */ (unsigned char) 29, +/* 30 ( '^^') */ (unsigned char) 30, +/* 31 ( '^_') */ (unsigned char) 31, +/* 32 ( ' ' ) */ (unsigned char) 32, +/* 33 ( '!' ) */ (unsigned char) 33, +/* 34 ( '"' ) */ (unsigned char) 39, +/* 35 ( '#' ) */ (unsigned char) 35, +/* 36 ( '$' ) */ (unsigned char) 36, +/* 37 ( '%' ) */ (unsigned char) 37, +/* 38 ( '&' ) */ (unsigned char) 38, +/* 39 ( ''' ) */ (unsigned char) 39, +/* 40 ( '(' ) */ (unsigned char) 40, +/* 41 ( ')' ) */ (unsigned char) 41, +/* 42 ( '*' ) */ (unsigned char) 42, +/* 43 ( '+' ) */ (unsigned char) 43, +/* 44 ( ',' ) */ (unsigned char) 44, +/* 45 ( '-' ) */ (unsigned char) 45, +/* 46 ( '.' ) */ (unsigned char) 46, +/* 47 ( '/' ) */ (unsigned char) 47, +/* 48 ( '0' ) */ (unsigned char) 48, +/* 49 ( '1' ) */ (unsigned char) 49, +/* 50 ( '2' ) */ (unsigned char) 50, +/* 51 ( '3' ) */ (unsigned char) 51, +/* 52 ( '4' ) */ (unsigned char) 52, +/* 53 ( '5' ) */ (unsigned char) 53, +/* 54 ( '6' ) */ (unsigned char) 54, +/* 55 ( '7' ) */ (unsigned char) 55, +/* 56 ( '8' ) */ (unsigned char) 56, +/* 57 ( '9' ) */ (unsigned char) 57, +/* 58 ( ':' ) */ (unsigned char) 58, +/* 59 ( ';' ) */ (unsigned char) 59, +/* 60 ( '<' ) */ (unsigned char) 60, +/* 61 ( '=' ) */ (unsigned char) 61, +/* 62 ( '>' ) */ (unsigned char) 62, +/* 63 ( '?' ) */ (unsigned char) 63, +/* 64 ( '@' ) */ (unsigned char) 64, +/* 65 ( 'A' ) */ (unsigned char) 65, +/* 66 ( 'B' ) */ (unsigned char) 66, +/* 67 ( 'C' ) */ (unsigned char) 67, +/* 68 ( 'D' ) */ (unsigned char) 68, +/* 69 ( 'E' ) */ (unsigned char) 69, +/* 70 ( 'F' ) */ (unsigned char) 70, +/* 71 ( 'G' ) */ (unsigned char) 71, +/* 72 ( 'H' ) */ (unsigned char) 72, +/* 73 ( 'I' ) */ (unsigned char) 73, +/* 74 ( 'J' ) */ (unsigned char) 74, +/* 75 ( 'K' ) */ (unsigned char) 75, +/* 76 ( 'L' ) */ (unsigned char) 76, +/* 77 ( 'M' ) */ (unsigned char) 77, +/* 78 ( 'N' ) */ (unsigned char) 78, +/* 79 ( 'O' ) */ (unsigned char) 79, +/* 80 ( 'P' ) */ (unsigned char) 80, +/* 81 ( 'Q' ) */ (unsigned char) 81, +/* 82 ( 'R' ) */ (unsigned char) 82, +/* 83 ( 'S' ) */ (unsigned char) 83, +/* 84 ( 'T' ) */ (unsigned char) 84, +/* 85 ( 'U' ) */ (unsigned char) 85, +/* 86 ( 'V' ) */ (unsigned char) 86, +/* 87 ( 'W' ) */ (unsigned char) 87, +/* 88 ( 'X' ) */ (unsigned char) 88, +/* 89 ( 'Y' ) */ (unsigned char) 89, +/* 90 ( 'Z' ) */ (unsigned char) 90, +/* 91 ( '[' ) */ (unsigned char) 91, +/* 92 ( '\' ) */ (unsigned char) 92, +/* 93 ( ']' ) */ (unsigned char) 93, +/* 94 ( '^' ) */ (unsigned char) 94, +/* 95 ( '_' ) */ (unsigned char) 95, +/* 96 ( '`' ) */ (unsigned char) 96, +/* 97 ( 'a' ) */ (unsigned char) 97, +/* 98 ( 'b' ) */ (unsigned char) 98, +/* 99 ( 'c' ) */ (unsigned char) 99, +/* 100 ( 'd' ) */ (unsigned char) 100, +/* 101 ( 'e' ) */ (unsigned char) 101, +/* 102 ( 'f' ) */ (unsigned char) 102, +/* 103 ( 'g' ) */ (unsigned char) 103, +/* 104 ( 'h' ) */ (unsigned char) 104, +/* 105 ( 'i' ) */ (unsigned char) 105, +/* 106 ( 'j' ) */ (unsigned char) 106, +/* 107 ( 'k' ) */ (unsigned char) 107, +/* 108 ( 'l' ) */ (unsigned char) 108, +/* 109 ( 'm' ) */ (unsigned char) 109, +/* 110 ( 'n' ) */ (unsigned char) 110, +/* 111 ( 'o' ) */ (unsigned char) 111, +/* 112 ( 'p' ) */ (unsigned char) 112, +/* 113 ( 'q' ) */ (unsigned char) 113, +/* 114 ( 'r' ) */ (unsigned char) 114, +/* 115 ( 's' ) */ (unsigned char) 115, +/* 116 ( 't' ) */ (unsigned char) 116, +/* 117 ( 'u' ) */ (unsigned char) 117, +/* 118 ( 'v' ) */ (unsigned char) 118, +/* 119 ( 'w' ) */ (unsigned char) 119, +/* 120 ( 'x' ) */ (unsigned char) 120, +/* 121 ( 'y' ) */ (unsigned char) 121, +/* 122 ( 'z' ) */ (unsigned char) 122, +/* 123 ( '{' ) */ (unsigned char) 123, +/* 124 ( '|' ) */ (unsigned char) 124, +/* 125 ( '}' ) */ (unsigned char) 125, +/* 126 ( '~' ) */ (unsigned char) 126, +/* 127 ( '^?') */ (unsigned char) 127, +/* 128 ( '~@') */ (unsigned char) 128, +/* 129 ( '~A') */ (unsigned char) 129, +/* 130 ( '~B') */ (unsigned char) 130, +/* 131 ( '~C') */ (unsigned char) 131, +/* 132 ( '~D') */ (unsigned char) 132, +/* 133 ( '~E') */ (unsigned char) 133, +/* 134 ( '~F') */ (unsigned char) 134, +/* 135 ( '~G') */ (unsigned char) 135, +/* 136 ( '~H') */ (unsigned char) 136, +/* 137 ( '~I') */ (unsigned char) 137, +/* 138 ( '~J') */ (unsigned char) 138, +/* 139 ( '~K') */ (unsigned char) 139, +/* 140 ( '~L') */ (unsigned char) 140, +/* 141 ( '~M') */ (unsigned char) 141, +/* 142 ( '~N') */ (unsigned char) 142, +/* 143 ( '~O') */ (unsigned char) 143, +/* 144 ( '~P') */ (unsigned char) 144, +/* 145 ( '~Q') */ (unsigned char) 145, +/* 146 ( '~R') */ (unsigned char) 146, +/* 147 ( '~S') */ (unsigned char) 147, +/* 148 ( '~T') */ (unsigned char) 148, +/* 149 ( '~U') */ (unsigned char) 149, +/* 150 ( '~V') */ (unsigned char) 150, +/* 151 ( '~W') */ (unsigned char) 151, +/* 152 ( '~X') */ (unsigned char) 152, +/* 153 ( '~Y') */ (unsigned char) 153, +/* 154 ( '~Z') */ (unsigned char) 154, +/* 155 ( '~[') */ (unsigned char) 155, +/* 156 ( '~\') */ (unsigned char) 156, +/* 157 ( '~]') */ (unsigned char) 157, +/* 158 ( '~^') */ (unsigned char) 158, +/* 159 ( '~_') */ (unsigned char) 159, +/* 160 ( '| ') */ (unsigned char) 160, +/* 161 ( '¡' ) */ (unsigned char) 161, +/* 162 ( '¢' ) */ (unsigned char) 162, +/* 163 ( '£' ) */ (unsigned char) 163, +/* 164 ( '¤' ) */ (unsigned char) 164, +/* 165 ( '¥' ) */ (unsigned char) 165, +/* 166 ( '¦' ) */ (unsigned char) 166, +/* 167 ( '§' ) */ (unsigned char) 167, +/* 168 ( '¨' ) */ (unsigned char) 168, +/* 169 ( '©' ) */ (unsigned char) 169, +/* 170 ( 'ª' ) */ (unsigned char) 170, +/* 171 ( '«' ) */ (unsigned char) 171, +/* 172 ( '¬' ) */ (unsigned char) 172, +/* 173 ( '' ) */ (unsigned char) 173, +/* 174 ( '®' ) */ (unsigned char) 174, +/* 175 ( '¯' ) */ (unsigned char) 175, +/* 176 ( '°' ) */ (unsigned char) 176, +/* 177 ( '±' ) */ (unsigned char) 177, +/* 178 ( '²' ) */ (unsigned char) 178, +/* 179 ( '³' ) */ (unsigned char) 179, +/* 180 ( '´' ) */ (unsigned char) 180, +/* 181 ( 'µ' ) */ (unsigned char) 181, +/* 182 ( '¶' ) */ (unsigned char) 182, +/* 183 ( '·' ) */ (unsigned char) 183, +/* 184 ( '¸' ) */ (unsigned char) 184, +/* 185 ( '¹' ) */ (unsigned char) 185, +/* 186 ( 'º' ) */ (unsigned char) 186, +/* 187 ( '»' ) */ (unsigned char) 187, +/* 188 ( '¼' ) */ (unsigned char) 188, +/* 189 ( '½' ) */ (unsigned char) 189, +/* 190 ( '¾' ) */ (unsigned char) 190, +/* 191 ( '¿' ) */ (unsigned char) 191, +/* 192 ( 'À' ) */ (unsigned char) 192, +/* 193 ( 'Á' ) */ (unsigned char) 193, +/* 194 ( 'Â' ) */ (unsigned char) 194, +/* 195 ( 'Ã' ) */ (unsigned char) 195, +/* 196 ( 'Ä' ) */ (unsigned char) 196, +/* 197 ( 'Å' ) */ (unsigned char) 197, +/* 198 ( 'Æ' ) */ (unsigned char) 198, +/* 199 ( 'Ç' ) */ (unsigned char) 199, +/* 200 ( 'È' ) */ (unsigned char) 200, +/* 201 ( 'É' ) */ (unsigned char) 201, +/* 202 ( 'Ê' ) */ (unsigned char) 202, +/* 203 ( 'Ë' ) */ (unsigned char) 203, +/* 204 ( 'Ì' ) */ (unsigned char) 204, +/* 205 ( 'Í' ) */ (unsigned char) 205, +/* 206 ( 'Î' ) */ (unsigned char) 206, +/* 207 ( 'Ï' ) */ (unsigned char) 207, +/* 208 ( 'Ð' ) */ (unsigned char) 208, +/* 209 ( 'Ñ' ) */ (unsigned char) 209, +/* 210 ( 'Ò' ) */ (unsigned char) 210, +/* 211 ( 'Ó' ) */ (unsigned char) 211, +/* 212 ( 'Ô' ) */ (unsigned char) 212, +/* 213 ( 'Õ' ) */ (unsigned char) 213, +/* 214 ( 'Ö' ) */ (unsigned char) 214, +/* 215 ( '×' ) */ (unsigned char) 215, +/* 216 ( 'Ø' ) */ (unsigned char) 216, +/* 217 ( 'Ù' ) */ (unsigned char) 217, +/* 218 ( 'Ú' ) */ (unsigned char) 218, +/* 219 ( 'Û' ) */ (unsigned char) 219, +/* 220 ( 'Ü' ) */ (unsigned char) 220, +/* 221 ( 'Ý' ) */ (unsigned char) 221, +/* 222 ( 'Þ' ) */ (unsigned char) 222, +/* 223 ( 'ß' ) */ (unsigned char) 223, +/* 224 ( 'à' ) */ (unsigned char) 224, +/* 225 ( 'á' ) */ (unsigned char) 225, +/* 226 ( 'â' ) */ (unsigned char) 226, +/* 227 ( 'ã' ) */ (unsigned char) 227, +/* 228 ( 'ä' ) */ (unsigned char) 228, +/* 229 ( 'å' ) */ (unsigned char) 229, +/* 230 ( 'æ' ) */ (unsigned char) 230, +/* 231 ( 'ç' ) */ (unsigned char) 231, +/* 232 ( 'è' ) */ (unsigned char) 232, +/* 233 ( 'é' ) */ (unsigned char) 233, +/* 234 ( 'ê' ) */ (unsigned char) 234, +/* 235 ( 'ë' ) */ (unsigned char) 235, +/* 236 ( 'ì' ) */ (unsigned char) 236, +/* 237 ( 'í' ) */ (unsigned char) 237, +/* 238 ( 'î' ) */ (unsigned char) 238, +/* 239 ( 'ï' ) */ (unsigned char) 239, +/* 240 ( 'ð' ) */ (unsigned char) 240, +/* 241 ( 'ñ' ) */ (unsigned char) 241, +/* 242 ( 'ò' ) */ (unsigned char) 242, +/* 243 ( 'ó' ) */ (unsigned char) 243, +/* 244 ( 'ô' ) */ (unsigned char) 244, +/* 245 ( 'õ' ) */ (unsigned char) 245, +/* 246 ( 'ö' ) */ (unsigned char) 246, +/* 247 ( '÷' ) */ (unsigned char) 247, +/* 248 ( 'ø' ) */ (unsigned char) 248, +/* 249 ( 'ù' ) */ (unsigned char) 249, +/* 250 ( 'ú' ) */ (unsigned char) 250, +/* 251 ( 'û' ) */ (unsigned char) 251, +/* 252 ( 'ü' ) */ (unsigned char) 252, +/* 253 ( 'ý' ) */ (unsigned char) 253, +/* 254 ( 'þ' ) */ (unsigned char) 254, +/* 255 ( 'ÿ' ) */ (unsigned char) 255}, + +/* +lcdtranstbl-hd44780.h +this table is used to map characters for output to +a hd44780 LCD to display some special characters correctly. +newline,tab and friends are mapped to ' ' +*/ + +{ +/* 0 ( '^@') */ (unsigned char) 0, +/* 1 ( '^A') */ (unsigned char) 1, +/* 2 ( '^B') */ (unsigned char) 2, +/* 3 ( '^C') */ (unsigned char) 3, +/* 4 ( '^D') */ (unsigned char) 4, +/* 5 ( '^E') */ (unsigned char) 5, +/* 6 ( '^F') */ (unsigned char) 6, +/* 7 ( '^G') */ (unsigned char) 7, +/* 8 ( '^H') */ (unsigned char) 8, +/* 9 ( '' ) */ (unsigned char) 32, +/* 10 ( '' ) */ (unsigned char) 32, +/* 11 ( '^K') */ (unsigned char) 32, +/* 12 ( '^L') */ (unsigned char) 32, +/* 13 ( '^M') */ (unsigned char) 32, +/* 14 ( '^N') */ (unsigned char) 14, +/* 15 ( '^O') */ (unsigned char) 15, +/* 16 ( '^P') */ (unsigned char) 16, +/* 17 ( '^Q') */ (unsigned char) 17, +/* 18 ( '^R') */ (unsigned char) 18, +/* 19 ( '^S') */ (unsigned char) 19, +/* 20 ( '^T') */ (unsigned char) 20, +/* 21 ( '^U') */ (unsigned char) 21, +/* 22 ( '^V') */ (unsigned char) 22, +/* 23 ( '^W') */ (unsigned char) 23, +/* 24 ( '^X') */ (unsigned char) 24, +/* 25 ( '^Y') */ (unsigned char) 25, +/* 26 ( '^Z') */ (unsigned char) 26, +/* 27 ( '^[') */ (unsigned char) 27, +/* 28 ( '^\') */ (unsigned char) 28, +/* 29 ( '^]') */ (unsigned char) 29, +/* 30 ( '^^') */ (unsigned char) 30, +/* 31 ( '^_') */ (unsigned char) 31, +/* 32 ( ' ' ) */ (unsigned char) 32, +/* 33 ( '!' ) */ (unsigned char) 33, +/* 34 ( '"' ) */ (unsigned char) 39, +/* 35 ( '#' ) */ (unsigned char) 35, +/* 36 ( '$' ) */ (unsigned char) 36, +/* 37 ( '%' ) */ (unsigned char) 37, +/* 38 ( '&' ) */ (unsigned char) 38, +/* 39 ( ''' ) */ (unsigned char) 39, +/* 40 ( '(' ) */ (unsigned char) 40, +/* 41 ( ')' ) */ (unsigned char) 41, +/* 42 ( '*' ) */ (unsigned char) 42, +/* 43 ( '+' ) */ (unsigned char) 43, +/* 44 ( ',' ) */ (unsigned char) 44, +/* 45 ( '-' ) */ (unsigned char) 45, +/* 46 ( '.' ) */ (unsigned char) 46, +/* 47 ( '/' ) */ (unsigned char) 47, +/* 48 ( '0' ) */ (unsigned char) 48, +/* 49 ( '1' ) */ (unsigned char) 49, +/* 50 ( '2' ) */ (unsigned char) 50, +/* 51 ( '3' ) */ (unsigned char) 51, +/* 52 ( '4' ) */ (unsigned char) 52, +/* 53 ( '5' ) */ (unsigned char) 53, +/* 54 ( '6' ) */ (unsigned char) 54, +/* 55 ( '7' ) */ (unsigned char) 55, +/* 56 ( '8' ) */ (unsigned char) 56, +/* 57 ( '9' ) */ (unsigned char) 57, +/* 58 ( ':' ) */ (unsigned char) 58, +/* 59 ( ';' ) */ (unsigned char) 59, +/* 60 ( '<' ) */ (unsigned char) 60, +/* 61 ( '=' ) */ (unsigned char) 61, +/* 62 ( '>' ) */ (unsigned char) 62, +/* 63 ( '?' ) */ (unsigned char) 63, +/* 64 ( '@' ) */ (unsigned char) 64, +/* 65 ( 'A' ) */ (unsigned char) 65, +/* 66 ( 'B' ) */ (unsigned char) 66, +/* 67 ( 'C' ) */ (unsigned char) 67, +/* 68 ( 'D' ) */ (unsigned char) 68, +/* 69 ( 'E' ) */ (unsigned char) 69, +/* 70 ( 'F' ) */ (unsigned char) 70, +/* 71 ( 'G' ) */ (unsigned char) 71, +/* 72 ( 'H' ) */ (unsigned char) 72, +/* 73 ( 'I' ) */ (unsigned char) 73, +/* 74 ( 'J' ) */ (unsigned char) 74, +/* 75 ( 'K' ) */ (unsigned char) 75, +/* 76 ( 'L' ) */ (unsigned char) 76, +/* 77 ( 'M' ) */ (unsigned char) 77, +/* 78 ( 'N' ) */ (unsigned char) 78, +/* 79 ( 'O' ) */ (unsigned char) 79, +/* 80 ( 'P' ) */ (unsigned char) 80, +/* 81 ( 'Q' ) */ (unsigned char) 81, +/* 82 ( 'R' ) */ (unsigned char) 82, +/* 83 ( 'S' ) */ (unsigned char) 83, +/* 84 ( 'T' ) */ (unsigned char) 84, +/* 85 ( 'U' ) */ (unsigned char) 85, +/* 86 ( 'V' ) */ (unsigned char) 86, +/* 87 ( 'W' ) */ (unsigned char) 87, +/* 88 ( 'X' ) */ (unsigned char) 88, +/* 89 ( 'Y' ) */ (unsigned char) 89, +/* 90 ( 'Z' ) */ (unsigned char) 90, +/* 91 ( '[' ) */ (unsigned char) 91, +/* 92 ( '\' ) */ (unsigned char) 92, +/* 93 ( ']' ) */ (unsigned char) 93, +/* 94 ( '^' ) */ (unsigned char) 94, +/* 95 ( '_' ) */ (unsigned char) 95, +/* 96 ( '`' ) */ (unsigned char) 96, +/* 97 ( 'a' ) */ (unsigned char) 97, +/* 98 ( 'b' ) */ (unsigned char) 98, +/* 99 ( 'c' ) */ (unsigned char) 99, +/* 100 ( 'd' ) */ (unsigned char) 100, +/* 101 ( 'e' ) */ (unsigned char) 101, +/* 102 ( 'f' ) */ (unsigned char) 102, +/* 103 ( 'g' ) */ (unsigned char) 103, +/* 104 ( 'h' ) */ (unsigned char) 104, +/* 105 ( 'i' ) */ (unsigned char) 105, +/* 106 ( 'j' ) */ (unsigned char) 106, +/* 107 ( 'k' ) */ (unsigned char) 107, +/* 108 ( 'l' ) */ (unsigned char) 108, +/* 109 ( 'm' ) */ (unsigned char) 109, +/* 110 ( 'n' ) */ (unsigned char) 110, +/* 111 ( 'o' ) */ (unsigned char) 111, +/* 112 ( 'p' ) */ (unsigned char) 112, +/* 113 ( 'q' ) */ (unsigned char) 113, +/* 114 ( 'r' ) */ (unsigned char) 114, +/* 115 ( 's' ) */ (unsigned char) 115, +/* 116 ( 't' ) */ (unsigned char) 116, +/* 117 ( 'u' ) */ (unsigned char) 117, +/* 118 ( 'v' ) */ (unsigned char) 118, +/* 119 ( 'w' ) */ (unsigned char) 119, +/* 120 ( 'x' ) */ (unsigned char) 120, +/* 121 ( 'y' ) */ (unsigned char) 121, +/* 122 ( 'z' ) */ (unsigned char) 122, +/* 123 ( '{' ) */ (unsigned char) 123, +/* 124 ( '|' ) */ (unsigned char) 124, +/* 125 ( '}' ) */ (unsigned char) 125, +/* 126 ( '~' ) */ (unsigned char) 126, +/* 127 ( '^?') */ (unsigned char) 127, +/* 128 ( '~@') */ (unsigned char) 128, +/* 129 ( '~A') */ (unsigned char) 129, +/* 130 ( '~B') */ (unsigned char) 130, +/* 131 ( '~C') */ (unsigned char) 131, +/* 132 ( '~D') */ (unsigned char) 132, +/* 133 ( '~E') */ (unsigned char) 133, +/* 134 ( '~F') */ (unsigned char) 134, +/* 135 ( '~G') */ (unsigned char) 135, +/* 136 ( '~H') */ (unsigned char) 136, +/* 137 ( '~I') */ (unsigned char) 137, +/* 138 ( '~J') */ (unsigned char) 138, +/* 139 ( '~K') */ (unsigned char) 139, +/* 140 ( '~L') */ (unsigned char) 140, +/* 141 ( '~M') */ (unsigned char) 141, +/* 142 ( '~N') */ (unsigned char) 142, +/* 143 ( '~O') */ (unsigned char) 143, +/* 144 ( '~P') */ (unsigned char) 144, +/* 145 ( '~Q') */ (unsigned char) 145, +/* 146 ( '~R') */ (unsigned char) 146, +/* 147 ( '~S') */ (unsigned char) 147, +/* 148 ( '~T') */ (unsigned char) 148, +/* 149 ( '~U') */ (unsigned char) 149, +/* 150 ( '~V') */ (unsigned char) 150, +/* 151 ( '~W') */ (unsigned char) 151, +/* 152 ( '~X') */ (unsigned char) 152, +/* 153 ( '~Y') */ (unsigned char) 153, +/* 154 ( '~Z') */ (unsigned char) 154, +/* 155 ( '~[') */ (unsigned char) 155, +/* 156 ( '~\') */ (unsigned char) 156, +/* 157 ( '~]') */ (unsigned char) 157, +/* 158 ( '~^') */ (unsigned char) 158, +/* 159 ( '~_') */ (unsigned char) 159, +/* 160 ( '| ') */ (unsigned char) 160, +/* 161 ( '¡' ) */ (unsigned char) 161, +/* 162 ( '¢' ) */ (unsigned char) 162, +/* 163 ( '£' ) */ (unsigned char) 163, +/* 164 ( '¤' ) */ (unsigned char) 164, +/* 165 ( '¥' ) */ (unsigned char) 92, +/* 166 ( '¦' ) */ (unsigned char) 166, +/* 167 ( '§' ) */ (unsigned char) 167, +/* 168 ( '¨' ) */ (unsigned char) 168, +/* 169 ( '©' ) */ (unsigned char) 67, +/* 170 ( 'ª' ) */ (unsigned char) 170, +/* 171 ( '«' ) */ (unsigned char) 171, +/* 172 ( '¬' ) */ (unsigned char) 172, +/* 173 ( '' ) */ (unsigned char) 173, +/* 174 ( '®' ) */ (unsigned char) 174, +/* 175 ( '¯' ) */ (unsigned char) 175, +/* 176 ( '°' ) */ (unsigned char) 223, +/* 177 ( '±' ) */ (unsigned char) 177, +/* 178 ( '²' ) */ (unsigned char) 50, +/* 179 ( '³' ) */ (unsigned char) 51, +/* 180 ( '´' ) */ (unsigned char) 180, +/* 181 ( 'µ' ) */ (unsigned char) 228, +/* 182 ( '¶' ) */ (unsigned char) 182, +/* 183 ( '·' ) */ (unsigned char) 183, +/* 184 ( '¸' ) */ (unsigned char) 184, +/* 185 ( '¹' ) */ (unsigned char) 185, +/* 186 ( 'º' ) */ (unsigned char) 223, +/* 187 ( '»' ) */ (unsigned char) 187, +/* 188 ( '¼' ) */ (unsigned char) 188, +/* 189 ( '½' ) */ (unsigned char) 189, +/* 190 ( '¾' ) */ (unsigned char) 190, +/* 191 ( '¿' ) */ (unsigned char) 191, +/* 192 ( 'À' ) */ (unsigned char) 65, +/* 193 ( 'Á' ) */ (unsigned char) 65, +/* 194 ( 'Â' ) */ (unsigned char) 65, +/* 195 ( 'Ã' ) */ (unsigned char) 65, +/* 196 ( 'Ä' ) */ (unsigned char) 225, +/* 197 ( 'Å' ) */ (unsigned char) 65, +/* 198 ( 'Æ' ) */ (unsigned char) 225, +/* 199 ( 'Ç' ) */ (unsigned char) 67, +/* 200 ( 'È' ) */ (unsigned char) 69, +/* 201 ( 'É' ) */ (unsigned char) 69, +/* 202 ( 'Ê' ) */ (unsigned char) 69, +/* 203 ( 'Ë' ) */ (unsigned char) 69, +/* 204 ( 'Ì' ) */ (unsigned char) 73, +/* 205 ( 'Í' ) */ (unsigned char) 73, +/* 206 ( 'Î' ) */ (unsigned char) 73, +/* 207 ( 'Ï' ) */ (unsigned char) 73, +/* 208 ( 'Ð' ) */ (unsigned char) 68, +/* 209 ( 'Ñ' ) */ (unsigned char) 78, +/* 210 ( 'Ò' ) */ (unsigned char) 79, +/* 211 ( 'Ó' ) */ (unsigned char) 79, +/* 212 ( 'Ô' ) */ (unsigned char) 79, +/* 213 ( 'Õ' ) */ (unsigned char) 79, +/* 214 ( 'Ö' ) */ (unsigned char) 239, +/* 215 ( '×' ) */ (unsigned char) 88, +/* 216 ( 'Ø' ) */ (unsigned char) 48, +/* 217 ( 'Ù' ) */ (unsigned char) 85, +/* 218 ( 'Ú' ) */ (unsigned char) 85, +/* 219 ( 'Û' ) */ (unsigned char) 85, +/* 220 ( 'Ü' ) */ (unsigned char) 245, +/* 221 ( 'Ý' ) */ (unsigned char) 89, +/* 222 ( 'Þ' ) */ (unsigned char) 222, +/* 223 ( 'ß' ) */ (unsigned char) 226, +/* 224 ( 'à' ) */ (unsigned char) 97, +/* 225 ( 'á' ) */ (unsigned char) 97, +/* 226 ( 'â' ) */ (unsigned char) 97, +/* 227 ( 'ã' ) */ (unsigned char) 97, +/* 228 ( 'ä' ) */ (unsigned char) 225, +/* 229 ( 'å' ) */ (unsigned char) 97, +/* 230 ( 'æ' ) */ (unsigned char) 230, +/* 231 ( 'ç' ) */ (unsigned char) 99, +/* 232 ( 'è' ) */ (unsigned char) 101, +/* 233 ( 'é' ) */ (unsigned char) 101, +/* 234 ( 'ê' ) */ (unsigned char) 101, +/* 235 ( 'ë' ) */ (unsigned char) 101, +/* 236 ( 'ì' ) */ (unsigned char) 105, +/* 237 ( 'í' ) */ (unsigned char) 105, +/* 238 ( 'î' ) */ (unsigned char) 105, +/* 239 ( 'ï' ) */ (unsigned char) 105, +/* 240 ( 'ð' ) */ (unsigned char) 100, +/* 241 ( 'ñ' ) */ (unsigned char) 110, +/* 242 ( 'ò' ) */ (unsigned char) 111, +/* 243 ( 'ó' ) */ (unsigned char) 111, +/* 244 ( 'ô' ) */ (unsigned char) 111, +/* 245 ( 'õ' ) */ (unsigned char) 111, +/* 246 ( 'ö' ) */ (unsigned char) 239, +/* 247 ( '÷' ) */ (unsigned char) 253, +/* 248 ( 'ø' ) */ (unsigned char) 248, +/* 249 ( 'ù' ) */ (unsigned char) 117, +/* 250 ( 'ú' ) */ (unsigned char) 117, +/* 251 ( 'û' ) */ (unsigned char) 117, +/* 252 ( 'ü' ) */ (unsigned char) 245, +/* 253 ( 'ý' ) */ (unsigned char) 121, +/* 254 ( 'þ' ) */ (unsigned char) 254, +/* 255 ( 'ÿ' ) */ (unsigned char) 121}, + +/* +lcdtranstbl-CFontz.h +this table is used to map characters for output to +a Crystal Fontz LCD to display some special characters correctly. +newline,tab and friends are mapped to ' ' +*/ + +{ +/* 0 ( '^@') */ (unsigned char) 0, +/* 1 ( '^A') */ (unsigned char) 1, +/* 2 ( '^B') */ (unsigned char) 2, +/* 3 ( '^C') */ (unsigned char) 3, +/* 4 ( '^D') */ (unsigned char) 4, +/* 5 ( '^E') */ (unsigned char) 5, +/* 6 ( '^F') */ (unsigned char) 6, +/* 7 ( '^G') */ (unsigned char) 7, +/* 8 ( '^H') */ (unsigned char) 8, +/* 9 ( '' ) */ (unsigned char) 32, +/* 10 ( '' ) */ (unsigned char) 32, +/* 11 ( '^K') */ (unsigned char) 32, +/* 12 ( '^L') */ (unsigned char) 32, +/* 13 ( '^M') */ (unsigned char) 32, +/* 14 ( '^N') */ (unsigned char) 14, +/* 15 ( '^O') */ (unsigned char) 15, +/* 16 ( '^P') */ (unsigned char) 16, +/* 17 ( '^Q') */ (unsigned char) 17, +/* 18 ( '^R') */ (unsigned char) 18, +/* 19 ( '^S') */ (unsigned char) 19, +/* 20 ( '^T') */ (unsigned char) 20, +/* 21 ( '^U') */ (unsigned char) 21, +/* 22 ( '^V') */ (unsigned char) 22, +/* 23 ( '^W') */ (unsigned char) 23, +/* 24 ( '^X') */ (unsigned char) 24, +/* 25 ( '^Y') */ (unsigned char) 25, +/* 26 ( '^Z') */ (unsigned char) 26, +/* 27 ( '^[') */ (unsigned char) 27, +/* 28 ( '^\') */ (unsigned char) 28, +/* 29 ( '^]') */ (unsigned char) 29, +/* 30 ( '^^') */ (unsigned char) 30, +/* 31 ( '^_') */ (unsigned char) 31, +/* 32 ( ' ' ) */ (unsigned char) 32, +/* 33 ( '!' ) */ (unsigned char) 33, +/* 34 ( '"' ) */ (unsigned char) 39, +/* 35 ( '#' ) */ (unsigned char) 35, +/* 36 ( '$' ) */ (unsigned char) 36, +/* 37 ( '%' ) */ (unsigned char) 37, +/* 38 ( '&' ) */ (unsigned char) 38, +/* 39 ( ''' ) */ (unsigned char) 39, +/* 40 ( '(' ) */ (unsigned char) 40, +/* 41 ( ')' ) */ (unsigned char) 41, +/* 42 ( '*' ) */ (unsigned char) 42, +/* 43 ( '+' ) */ (unsigned char) 43, +/* 44 ( ',' ) */ (unsigned char) 44, +/* 45 ( '-' ) */ (unsigned char) 45, +/* 46 ( '.' ) */ (unsigned char) 46, +/* 47 ( '/' ) */ (unsigned char) 47, +/* 48 ( '0' ) */ (unsigned char) 48, +/* 49 ( '1' ) */ (unsigned char) 49, +/* 50 ( '2' ) */ (unsigned char) 50, +/* 51 ( '3' ) */ (unsigned char) 51, +/* 52 ( '4' ) */ (unsigned char) 52, +/* 53 ( '5' ) */ (unsigned char) 53, +/* 54 ( '6' ) */ (unsigned char) 54, +/* 55 ( '7' ) */ (unsigned char) 55, +/* 56 ( '8' ) */ (unsigned char) 56, +/* 57 ( '9' ) */ (unsigned char) 57, +/* 58 ( ':' ) */ (unsigned char) 58, +/* 59 ( ';' ) */ (unsigned char) 59, +/* 60 ( '<' ) */ (unsigned char) 60, +/* 61 ( '=' ) */ (unsigned char) 61, +/* 62 ( '>' ) */ (unsigned char) 62, +/* 63 ( '?' ) */ (unsigned char) 63, +/* 64 ( '@' ) */ (unsigned char) 160, +/* 65 ( 'A' ) */ (unsigned char) 65, +/* 66 ( 'B' ) */ (unsigned char) 66, +/* 67 ( 'C' ) */ (unsigned char) 67, +/* 68 ( 'D' ) */ (unsigned char) 68, +/* 69 ( 'E' ) */ (unsigned char) 69, +/* 70 ( 'F' ) */ (unsigned char) 70, +/* 71 ( 'G' ) */ (unsigned char) 71, +/* 72 ( 'H' ) */ (unsigned char) 72, +/* 73 ( 'I' ) */ (unsigned char) 73, +/* 74 ( 'J' ) */ (unsigned char) 74, +/* 75 ( 'K' ) */ (unsigned char) 75, +/* 76 ( 'L' ) */ (unsigned char) 76, +/* 77 ( 'M' ) */ (unsigned char) 77, +/* 78 ( 'N' ) */ (unsigned char) 78, +/* 79 ( 'O' ) */ (unsigned char) 79, +/* 80 ( 'P' ) */ (unsigned char) 80, +/* 81 ( 'Q' ) */ (unsigned char) 81, +/* 82 ( 'R' ) */ (unsigned char) 82, +/* 83 ( 'S' ) */ (unsigned char) 83, +/* 84 ( 'T' ) */ (unsigned char) 84, +/* 85 ( 'U' ) */ (unsigned char) 85, +/* 86 ( 'V' ) */ (unsigned char) 86, +/* 87 ( 'W' ) */ (unsigned char) 87, +/* 88 ( 'X' ) */ (unsigned char) 88, +/* 89 ( 'Y' ) */ (unsigned char) 89, +/* 90 ( 'Z' ) */ (unsigned char) 90, +/* 91 ( '[' ) */ (unsigned char) 250, +/* 92 ( '\' ) */ (unsigned char) 251, +/* 93 ( ']' ) */ (unsigned char) 252, +/* 94 ( '^' ) */ (unsigned char) 222, +/* 95 ( '_' ) */ (unsigned char) 196, +/* 96 ( '`' ) */ (unsigned char) 39, +/* 97 ( 'a' ) */ (unsigned char) 97, +/* 98 ( 'b' ) */ (unsigned char) 98, +/* 99 ( 'c' ) */ (unsigned char) 99, +/* 100 ( 'd' ) */ (unsigned char) 100, +/* 101 ( 'e' ) */ (unsigned char) 101, +/* 102 ( 'f' ) */ (unsigned char) 102, +/* 103 ( 'g' ) */ (unsigned char) 103, +/* 104 ( 'h' ) */ (unsigned char) 104, +/* 105 ( 'i' ) */ (unsigned char) 105, +/* 106 ( 'j' ) */ (unsigned char) 106, +/* 107 ( 'k' ) */ (unsigned char) 107, +/* 108 ( 'l' ) */ (unsigned char) 108, +/* 109 ( 'm' ) */ (unsigned char) 109, +/* 110 ( 'n' ) */ (unsigned char) 110, +/* 111 ( 'o' ) */ (unsigned char) 111, +/* 112 ( 'p' ) */ (unsigned char) 112, +/* 113 ( 'q' ) */ (unsigned char) 113, +/* 114 ( 'r' ) */ (unsigned char) 114, +/* 115 ( 's' ) */ (unsigned char) 115, +/* 116 ( 't' ) */ (unsigned char) 116, +/* 117 ( 'u' ) */ (unsigned char) 117, +/* 118 ( 'v' ) */ (unsigned char) 118, +/* 119 ( 'w' ) */ (unsigned char) 119, +/* 120 ( 'x' ) */ (unsigned char) 120, +/* 121 ( 'y' ) */ (unsigned char) 121, +/* 122 ( 'z' ) */ (unsigned char) 122, +/* 123 ( '{' ) */ (unsigned char) 253, +/* 124 ( '|' ) */ (unsigned char) 221, +/* 125 ( '}' ) */ (unsigned char) 255, +/* 126 ( '~' ) */ (unsigned char) 206, +/* 127 ( '^?') */ (unsigned char) 127, +/* 128 ( '~@') */ (unsigned char) 128, +/* 129 ( '~A') */ (unsigned char) 129, +/* 130 ( '~B') */ (unsigned char) 130, +/* 131 ( '~C') */ (unsigned char) 131, +/* 132 ( '~D') */ (unsigned char) 132, +/* 133 ( '~E') */ (unsigned char) 133, +/* 134 ( '~F') */ (unsigned char) 134, +/* 135 ( '~G') */ (unsigned char) 135, +/* 136 ( '~H') */ (unsigned char) 136, +/* 137 ( '~I') */ (unsigned char) 137, +/* 138 ( '~J') */ (unsigned char) 138, +/* 139 ( '~K') */ (unsigned char) 139, +/* 140 ( '~L') */ (unsigned char) 140, +/* 141 ( '~M') */ (unsigned char) 141, +/* 142 ( '~N') */ (unsigned char) 142, +/* 143 ( '~O') */ (unsigned char) 143, +/* 144 ( '~P') */ (unsigned char) 144, +/* 145 ( '~Q') */ (unsigned char) 145, +/* 146 ( '~R') */ (unsigned char) 146, +/* 147 ( '~S') */ (unsigned char) 147, +/* 148 ( '~T') */ (unsigned char) 148, +/* 149 ( '~U') */ (unsigned char) 149, +/* 150 ( '~V') */ (unsigned char) 150, +/* 151 ( '~W') */ (unsigned char) 151, +/* 152 ( '~X') */ (unsigned char) 152, +/* 153 ( '~Y') */ (unsigned char) 153, +/* 154 ( '~Z') */ (unsigned char) 154, +/* 155 ( '~[') */ (unsigned char) 155, +/* 156 ( '~\') */ (unsigned char) 156, +/* 157 ( '~]') */ (unsigned char) 157, +/* 158 ( '~^') */ (unsigned char) 158, +/* 159 ( '~_') */ (unsigned char) 159, +/* 160 ( '| ') */ (unsigned char) 160, +/* 161 ( '¡' ) */ (unsigned char) 64, +/* 162 ( '¢' ) */ (unsigned char) 177, +/* 163 ( '£' ) */ (unsigned char) 161, +/* 164 ( '¤' ) */ (unsigned char) 36, +/* 165 ( '¥' ) */ (unsigned char) 163, +/* 166 ( '¦' ) */ (unsigned char) 254, +/* 167 ( '§' ) */ (unsigned char) 95, +/* 168 ( '¨' ) */ (unsigned char) 221, +/* 169 ( '©' ) */ (unsigned char) 171, +/* 170 ( 'ª' ) */ (unsigned char) 170, +/* 171 ( '«' ) */ (unsigned char) 171, +/* 172 ( '¬' ) */ (unsigned char) 172, +/* 173 ( '' ) */ (unsigned char) 173, +/* 174 ( '®' ) */ (unsigned char) 174, +/* 175 ( '¯' ) */ (unsigned char) 175, +/* 176 ( '°' ) */ (unsigned char) 207, +/* 177 ( '±' ) */ (unsigned char) 140, +/* 178 ( '²' ) */ (unsigned char) 130, +/* 179 ( '³' ) */ (unsigned char) 131, +/* 180 ( '´' ) */ (unsigned char) 39, +/* 181 ( 'µ' ) */ (unsigned char) 143, +/* 182 ( '¶' ) */ (unsigned char) 182, +/* 183 ( '·' ) */ (unsigned char) 183, +/* 184 ( '¸' ) */ (unsigned char) 184, +/* 185 ( '¹' ) */ (unsigned char) 129, +/* 186 ( 'º' ) */ (unsigned char) 221, +/* 187 ( '»' ) */ (unsigned char) 187, +/* 188 ( '¼' ) */ (unsigned char) 139, +/* 189 ( '½' ) */ (unsigned char) 138, +/* 190 ( '¾' ) */ (unsigned char) 190, +/* 191 ( '¿' ) */ (unsigned char) 96, +/* 192 ( 'À' ) */ (unsigned char) 65, +/* 193 ( 'Á' ) */ (unsigned char) 226, +/* 194 ( 'Â' ) */ (unsigned char) 65, +/* 195 ( 'Ã' ) */ (unsigned char) 65, +/* 196 ( 'Ä' ) */ (unsigned char) 91, +/* 197 ( 'Å' ) */ (unsigned char) 174, +/* 198 ( 'Æ' ) */ (unsigned char) 188, +/* 199 ( 'Ç' ) */ (unsigned char) 169, +/* 200 ( 'È' ) */ (unsigned char) 197, +/* 201 ( 'É' ) */ (unsigned char) 191, +/* 202 ( 'Ê' ) */ (unsigned char) 198, +/* 203 ( 'Ë' ) */ (unsigned char) 69, +/* 204 ( 'Ì' ) */ (unsigned char) 73, +/* 205 ( 'Í' ) */ (unsigned char) 227, +/* 206 ( 'Î' ) */ (unsigned char) 73, +/* 207 ( 'Ï' ) */ (unsigned char) 73, +/* 208 ( 'Ð' ) */ (unsigned char) 68, +/* 209 ( 'Ñ' ) */ (unsigned char) 43, +/* 210 ( 'Ò' ) */ (unsigned char) 168, +/* 211 ( 'Ó' ) */ (unsigned char) 228, +/* 212 ( 'Ô' ) */ (unsigned char) 236, +/* 213 ( 'Õ' ) */ (unsigned char) 79, +/* 214 ( 'Ö' ) */ (unsigned char) 92, +/* 215 ( '×' ) */ (unsigned char) 120, +/* 216 ( 'Ø' ) */ (unsigned char) 171, +/* 217 ( 'Ù' ) */ (unsigned char) 85, +/* 218 ( 'Ú' ) */ (unsigned char) 229, +/* 219 ( 'Û' ) */ (unsigned char) 85, +/* 220 ( 'Ü' ) */ (unsigned char) 94, +/* 221 ( 'Ý' ) */ (unsigned char) 250, +/* 222 ( 'Þ' ) */ (unsigned char) 178, +/* 223 ( 'ß' ) */ (unsigned char) 190, +/* 224 ( 'à' ) */ (unsigned char) 127, +/* 225 ( 'á' ) */ (unsigned char) 231, +/* 226 ( 'â' ) */ (unsigned char) 97, +/* 227 ( 'ã' ) */ (unsigned char) 97, +/* 228 ( 'ä' ) */ (unsigned char) 123, +/* 229 ( 'å' ) */ (unsigned char) 175, +/* 230 ( 'æ' ) */ (unsigned char) 189, +/* 231 ( 'ç' ) */ (unsigned char) 200, +/* 232 ( 'è' ) */ (unsigned char) 164, +/* 233 ( 'é' ) */ (unsigned char) 165, +/* 234 ( 'ê' ) */ (unsigned char) 199, +/* 235 ( 'ë' ) */ (unsigned char) 101, +/* 236 ( 'ì' ) */ (unsigned char) 167, +/* 237 ( 'í' ) */ (unsigned char) 232, +/* 238 ( 'î' ) */ (unsigned char) 105, +/* 239 ( 'ï' ) */ (unsigned char) 105, +/* 240 ( 'ð' ) */ (unsigned char) 158, +/* 241 ( 'ñ' ) */ (unsigned char) 125, +/* 242 ( 'ò' ) */ (unsigned char) 168, +/* 243 ( 'ó' ) */ (unsigned char) 228, +/* 244 ( 'ô' ) */ (unsigned char) 237, +/* 245 ( 'õ' ) */ (unsigned char) 237, +/* 246 ( 'ö' ) */ (unsigned char) 124, +/* 247 ( '÷' ) */ (unsigned char) 47, +/* 248 ( 'ø' ) */ (unsigned char) 172, +/* 249 ( 'ù' ) */ (unsigned char) 166, +/* 250 ( 'ú' ) */ (unsigned char) 234, +/* 251 ( 'û' ) */ (unsigned char) 239, +/* 252 ( 'ü' ) */ (unsigned char) 126, +/* 253 ( 'ý' ) */ (unsigned char) 235, +/* 254 ( 'þ' ) */ (unsigned char) 178, +/* 255 ( 'ÿ' ) */ (unsigned char) 183} + +}; + +#endif @@ -0,0 +1,15 @@ +#include "setup.h" + +cLcdSetup LcdSetup; + +cLcdSetup::cLcdSetup(void) +{ + FullCycle = 10; + TimeCycle = 7; + VolumeKeep = 15; + Scrollwait = 10; + Scrollspeed = 3; + Charmap = 0; + AltShift = 0; + BackLight = 1; +} @@ -0,0 +1,20 @@ +#ifndef LCD_SETUP_H +#define LCD_SETUP_H + +class cLcdSetup { +public: + int FullCycle; + int TimeCycle; + int VolumeKeep; + int Scrollwait; + int Scrollspeed; + int Charmap; + int AltShift; + int BackLight; +public: + cLcdSetup(void); + }; + +extern cLcdSetup LcdSetup; + +#endif |