Hat denn niemand ein Bibliothek mit der er ein programm für das Dispaly kompilieren kann?
Wäre wirklich wichtig.
Hat denn niemand ein Bibliothek mit der er ein programm für das Dispaly kompilieren kann?
Wäre wirklich wichtig.
Schau mal in lcd.h nach ob der Begriff definiert wurde:
#define LCD_ENTRY_DEC 0x04 /* Cursor automatisch nach links schieben */
#define LCD_ENTRY_DEC_SHIFT 0x05 /* Cursor automatisch nach links schieben, Display nach rechts schieben */
#define LCD_ENTRY_INC 0x06 /* Cursor automatisch nach rechts schieben */
#define LCD_ENTRY_INC_SHIFT 0x07 /* Cursor automatisch nach rechts schieben, Display nach links schieben */
#define LCD_DISP_OFF 0x08 /* Display aus */
#define LCD_DISP_ON 0x0C /* Display an */
#define LCD_DISP_ON_CURSOR 0x0E /* Display an, Cursor an */
#define LCD_DISP_ON_CURSOR_BLINK 0x0F /* Display an, Cursor blinkend */
#define LCD_MOVE_CURSOR_LEFT 0x10 /* bewegt den Cursor nach links */
#define LCD_MOVE_CURSOR_RIGHT 0x14 /* bewegt den Cursor nach rechts */
#define LCD_MOVE_DISP_LEFT 0x18 /* schiebt den Displayinhalt nach links */
#define LCD_MOVE_DISP_RIGHT 0x1C /* schiebt den Displayinhalt nach rechts */
Ich lade dir mal meine lcd, I2C und pcf8574 Libary hoch:
http://red13.cwsurf.de/DispLib.zip
Geändert von red13 (31.05.2011 um 08:45 Uhr)
Lesezeichen