Hallo!
I have a strange problem. The display (2x16 from reichelt) did not work properly.
It seem that the cursor shift did not work.
During startup it shows only “MI”, not “MIOS”.
If I had loades an example application like midibox64 the display shows random characters in the first two columns in both rows.
eo
or
I just played around with the c-“Hello World!”-Programm. (BTW: very great that c is supported now)
void DISPLAY_Init(void) __wparam
{
MIOS_LCD_Clear();
MIOS_LCD_CursorSet(0x00);
MIOS_LCD_PrintCString(“Thomas”);
}
-> the Display shows
s
But positioning each character works.
void DISPLAY_Init(void) __wparam
{
MIOS_LCD_Clear();
MIOS_LCD_CursorSet(0x00);
MIOS_LCD_PrintCString(“T”);
MIOS_LCD_CursorSet(0x01);
MIOS_LCD_PrintCString(“h”);
MIOS_LCD_CursorSet(0x02);
MIOS_LCD_PrintCString(“o”);
MIOS_LCD_CursorSet(0x03);
MIOS_LCD_PrintCString(“m”);
MIOS_LCD_CursorSet(0x04);
MIOS_LCD_PrintCString(“a”);
MIOS_LCD_CursorSet(0x05);
MIOS_LCD_PrintCString(“s”);
}
-> the Display shows
Thomas
I changed the display -> same effect. So it should not be the display.
I checked all wiring -> all seems ok, no shortcuts etc. no mismatched wires.
But I assume it must be a connection problem.
I read the datasheet of the display. And there should be no combination that couses this effect.
If one dataline is wrong the characters should be as well.
I cannot remember that a wrong character was written. Only the shifting seems to fail.
Any Ideas?