sammyizimmy / ili9341

Raspberry Pi 8 bit parallel ili9341 lcd driver
38 stars 19 forks source link

Wrong wiring #1

Closed willie68 closed 9 years ago

willie68 commented 9 years ago

Hi, as i can see in your readme you have this table

R-PI Model B v2 GPIO
LCD GPIO p1 p2 GPIO LCD
      3v--* o--5v
      02--o o--5v
      03--o o--GND
DC----04--o o--14---RD
     GND--o o--15---WR
RESET-17--o o--18---DB2
CS----27--o o--GND
      22--o o--23---DB3
      3v--o o--24---DB4
IM0---10--o o--GND
DB0---09--o o--25---DB5
DB1---11--o o--08---DB6
     GND--o o--07---DB7
        p25 p26

but on the images i can see, that you are using DB8-DB15 (as advised in the TFT datasheet) Is this correct?

sammyizimmy commented 9 years ago

Yes it is. It threw me for a loop to but it works! see (http://www.newhavendisplay.com/specs/NHD-2.4-240320SF-CTXI-T1.pdf) page 4.

Hope the driver works for you.

On Tue, Oct 14, 2014 at 5:49 AM, Wilfried Klaas notifications@github.com wrote:

Hi, as i can see in your readme you have this table

R-PI Model B v2 GPIO LCD GPIO p1 p2 GPIO LCD 3v--* o--5v 02--o o--5v 03--o o--GND DC----04--o o--14---RD GND--o o--15---WR RESET-17--o o--18---DB2 CS----27--o o--GND 22--o o--23---DB3 3v--o o--24---DB4 IM0---10--o o--GND DB0---09--o o--25---DB5 DB1---11--o o--08---DB6 GND--o o--07---DB7 p25 p26

but on the images i can see, that you are using DB8-DB15 (as advised in the TFT datasheet) Is this correct?

Reply to this email directly or view it on GitHub https://github.com/sammyizimmy/ili9341/issues/1.

sammyizimmy commented 9 years ago

fixed readme.

sammyizimmy commented 9 years ago

Whoops! I think I misread your question. The answer is yes and no. DB0 is bit 0 of the data out and so on(DB7 is bit 7) DB0 on the pi connects to DB8 on the lcd and so on(DB7 on the pi connects to DB15 on the lcd)

I fixed the readme so DB7 on the pi connects to DB7 on the lcd .....

On Tue, Oct 14, 2014 at 7:28 AM, samuel zimmer sammyizimmy@gmail.com wrote:

Yes it is. It threw me for a loop to but it works! see (http://www.newhavendisplay.com/specs/NHD-2.4-240320SF-CTXI-T1.pdf) page 4.

Hope the driver works for you.

On Tue, Oct 14, 2014 at 5:49 AM, Wilfried Klaas notifications@github.com wrote:

Hi, as i can see in your readme you have this table

R-PI Model B v2 GPIO LCD GPIO p1 p2 GPIO LCD 3v--* o--5v 02--o o--5v 03--o o--GND DC----04--o o--14---RD GND--o o--15---WR RESET-17--o o--18---DB2 CS----27--o o--GND 22--o o--23---DB3 3v--o o--24---DB4 IM0---10--o o--GND DB0---09--o o--25---DB5 DB1---11--o o--08---DB6 GND--o o--07---DB7 p25 p26

but on the images i can see, that you are using DB8-DB15 (as advised in the TFT datasheet) Is this correct?

Reply to this email directly or view it on GitHub https://github.com/sammyizimmy/ili9341/issues/1.

willie68 commented 9 years ago

Thank you. I will try it.