After wiring a few Nokia 3310's and a 5210 according to
this thread, I've discovered the 5210's are horizontally flipped, in both LCDInfo and my own software. Searching the forum hightlighted another user with an 8210 who has also observed this within LCDInfo.
Here's a DivX
clip displaying the extent of the problem.
Any ideas anyone?
I'm using the same initialization sequence as LCDInfo:
Code:
// Power On
lWritePort(hw->portDAddr, POWER);
lSleep(10);
lWritePort(hw->portDAddr, RESET_POWER);
// command sequence borrowed from LCDInfo
PCD8544_write_command(hw, 0x21); // LCD Extended Commands.
PCD8544_write_command(hw, 197); // Set LCD Vop (Contrast).
PCD8544_write_command(hw, 0x06); // Set Temp coefficent.
PCD8544_write_command(hw, 0x13); // LCD bias mode 1:48.
PCD8544_write_command(hw, 0x20); // LCD Standard Commands, Horizontal addr mode.
PCD8544_write_command(hw, 0x0C); // LCD in normal mode.
edit:
Seems 5210's are addressed right to left.
Back view:
Part number as written on the back: DMD07687
_________________
myLCD - An LCD framebuffer library
(KS0108, PCD8544, SED1565, SED1335,
Nokia Colour LCD's, T6963C, TCP/IP, etc..)
http://mylcd.sourceforge.net/