Nokia LCD Breakout board problem with orientation

Hello,

I have just bought a Nokia LCD breakout board (http://www.sparkfun.com/commerce/produc … ts_id=8600) with red PCB. The LCD included has a green connector, so it is EPSON.

I have included in my project (with LPC2138) the code that sparkfun has on the website for the 2148, but I have a little problem. It seems that the right-bottom corner of the LCD (viewing it with connectors on the bottom) is the position (0,0) and the x coordinate grows from right to left, and from bottom to top.

I would like to change this orientation, so top-left is (0,0), I have changed a lot of parameters but nothing. This is my startup commands:

DISCTL

0x0C

0x20

0x00

0x01

COMSCN

0x01

OSCON

SLPOUT

PWRCTR

0x0F

DISINV

DATCTL

0x03

0x00

0x02

VOLCTR

0x24

0x03

NOP

DISON

Thanks very much,

Ezequiel

based on this website http://www.nerdipedia.com/tiki-index.php?page=nokia+LCD

there are a few problems or incompatibilities with the new LCDs… the DATCTL is a problem for me in the breakboard as I cannot change the orientation of the board.

Any fix?

I have changed the DATCTL first parameter (P1) from 0x00 to 0x07 which should invert page address and scanning, but nothing happens.

I tested this drawing a line from (10,10) to (20,10), which should draw a horizontal line, but in my display it draws a vertical line…

I don’t have the coordinates exchanged, I’m using the code provided by sparkfun for the LPC2148.

I’m the only one having this problem?