23 #include "at89c51ed2.h"
28 typedef unsigned char byte;
46 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,
47 0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x1F,
48 0x00,0x00,0x00,0x00,0x00,0x1F,0x1F,0x1F,
49 0x00,0x00,0x00,0x00,0x1F,0x1F,0x1F,0x1F,
50 0x00,0x00,0x00,0x1F,0x1F,0x1F,0x1F,0x1F,
51 0x00,0x00,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,
52 0x00,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,
53 0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F
58 0x31,0x1C,0x51,0x6A,0x74,
59 0x31,0x14,0x55,0x6D,0x7C,
60 0x39,0x1C,0x52,0x69,0x74,
61 0x39,0x14,0x55,0x6D,0x78,
62 0x39,0x1D,0x50,0x6C,0x77,
63 0x39,0x15,0x55,0x6E,0x72
83 for ( zaehler = zeit; zaehler; zaehler-- ) {
98 for (zaehler = zeit; zaehler; zaehler--) {
122 for ( stelle = 0x80; stelle; stelle >>= 1 ) {
138 for(lcd_i = 0; lcd_i < 8; lcd_i++) {
139 write_lcd(0x40 + lcd_addr * 8 + lcd_i,1);
152 for(lcd_i = 0; lcd_i < 8; lcd_i++) {
174 if (lcd_x > (
SPALTEN - 1)) lcd_x = 0;
175 if (lcd_y > (
ZEILEN - 1)) lcd_y = 0;
197 if (lcd_x > (
SPALTEN - 1)) lcd_x = 0;
198 if (lcd_y > (
ZEILEN - 1)) lcd_y = 0;
206 lcd_offset = strlen(lcd_zeichen);
208 for(lcd_i = lcd_offset; lcd_i; lcd_i--) {
209 write_lcd(*lcd_zeichen,0); lcd_zeichen++;
213 for(lcd_i =
SPALTEN - lcd_offset - lcd_x; lcd_i; lcd_i--)
229 if (lcd_x > (
SPALTEN - 1)) lcd_x = 0;
230 if (lcd_y > (
ZEILEN - 1)) lcd_y = 0;
246 #pragma disable_warning 126
251 offset = (
ZEILEN - 1) * 10;
byte code lcd_zeilen_adresse[]
void write_lcd(byte lcd_byte, bit lcd_mode)
void printf_lcd(byte lcd_x, byte lcd_y, byte *lcd_zeichen, bit clr_line)
void blink_lcd(byte lcd_x, byte lcd_y, byte lcd_blink)
byte code sonderzeichen[]
void write_lcd_cg(byte lcd_addr, byte *lcd_zeichen)
byte code lcd_init_code[]
void write_byte_lcd(byte lcd_x, byte lcd_y, byte lcd_ascii)
void write_lcd_cg_block(byte *sonderzeichenblock)