wie findest du wenn ich die initialisierung so machn würde:

Code:
#define LCD_INIT {0x29, 0x1C, 0x52, 0x69, 0x74} 				// See Datasheet

void InitLCD(unsigned char *init)
{
	unsigned char i = 0;
	
	SetIOLCD(OFF, LCD_EN);										// Start LCD Control, EN=0
	Msleep(1);													// Wait LCD Ready
	
	// Initialize LCD
	CommandLCD( LCD_8BIT | (LCD_8BIT >> 4) );
	CommandLCD( LCD_8BIT | (LCD_4BIT >> 4) );
	
	while(init[i] != 0x00)
	{
		CommandLCD(init[i]);
		i++;
	}
	
	CommandLCD( LCD_DISPLAYON );								// Display on/off Control (Entry Display,Cursor off,Cursor not Blink)
	CommandLCD( LCD_INCREASE );									// Entry Mode Set (I/D=1 Increment,S=0 Cursor Shift)
	CommandLCD( LCD_CLEAR );									// Clear Display
	CommandLCD( LCD_HOME );										// Home Cursor
	Msleep(1);			        								// Wait Initial Complete
}
und so beim Initialisierung
Code:
InitLCD(LCD_INIT);