Pin connections from LCD to Arduino Nano

Hi,

I´m trying to connect a 240x64 LCD with a T6963C controller to my Arduino Nano.

I found the datasheet to it and already know which pins on the LCD are what for.
I also know how to talk to it using the U8glib.h lib.
There is a constructor that says:

U8GLIB_T6963_240X64 u8g(8, 9, 10, 11, 4, 5, 6, 7, 14, 15, 17, 18, 16); // 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7, cs=14, a0=15, wr=17, rd=18, reset=16

I understand that the numbers are the according pins on the LCD but i can´t seem to find a propper documentation on how this is connected to the arduino... This LCD is very unusual and there is no example for it.

So how do I know where D0..D7, cs, a0, wr, rd and reset go?

-NineCookiez

D0 - D7 of the LCD go to Arduino pins 8,9,10,11,4,5,6,7.
These are LCD pin = Arduino pin:
cs=14, a0=15, wr=17, rd=18, reset=16

Please attach the datasheet for your LCD module.

Basically with the constructor you define where which pin goes.

Pin of the LCD -> Pin of the Arduino
D0 -> 8
D1 -> 9
D2 -> 10
...
D4 -> 4
...
D7 -> 7
and so on.

An alternative name for CS (Chip Select) is E (Enable).
A0 might be called RS (Register Select)

Ah I see...
So these numbers refer to the numbers 1 - 30 as on this image?:

Datasheet: http://www.mark-products.com/pdf/g240x64/003_p/003_p%20dwg.pdf

No, the Arduno pins are D2 = 2, D3 = 3, D4 = 4, ... , D13 = 13.

LCD Nano
D0 D8 [8]
D1 D9 (9)
D2 D10 (10)
D3 D11 (11)
D4 D4 (4)
And o on.

OKay..

But what are cs, a0, wr, rd and reset then?
There is no D14, D15.. and so on...
That´s what´s confusing me. :relaxed:

Sorry, I should have said that:

D14 on the Nano is the same as A0 and would go to cs.
D15 on the Nano is the same as A1 and would go to a0.
D16 on the Nano is the same as A2 and would go to reset.
D17 on the Nano is the same as A3 and would go to wr.
D18 on the Nano is the same as A4 and would go to rd.

The analog inputs (A0 - A5) are actually digital pins with analog input as a special function. That is why they have 2 names. Pins A6 and A7 are analog input only.

Thank you so much! :smiley: