9 years, 9 months ago.

Where is the pin connection list please?

I realise it's using the SPI pins 5,6,7, that's fine.

- and I see three more connections for pins 24, 25, 26, but what goes where on these?

Apologies if I've missed it in the code, or elsewhere.

Question relating to:

Demo project to demonstrate that ILI9340 display driver and graphics library. very simple but a good starting point for any project using such a display. Please use this to thoroughly … driver, Graphics, ILI9340, LCD, SPI, TFT

You should check out my Program http://mbed.org/users/Elitism/code/ILI9340C_Serial_Control/

posted by . . 28 Aug 2014

2 Answers

9 years, 9 months ago.

It lacks doxygen comments, but still the source file of the display lib: https://mbed.org/users/dextorslabs/code/ILI9340_Driver_Lib/docs/216d35e347b8/ILI9340__Driver_8h_source.html. So chip select, reset, and data/command pin.

Accepted Answer

+1 for bringing up doxygen comments !

posted by Martin Kojtal 21 Jul 2014
9 years, 9 months ago.

Hi Dan,

I really should make this more user friendly! - when time permits!

The program you referenced uses the library 'ILI9340_Driver_Lib', If you take a look at the code contained in the library files there are some clues, http://mbed.org/users/dextorslabs/code/ILI9340_Driver_Lib/#216d35e347b8

To compound Erik's answer - pin 24 is the chip select signal, pin 25 is the reset signal, and pin 26 is the data/command signal.

I hope this helps! Cheers, Ian.

Thanks to you both. I feel slightly awful because I figured it out just after posting the question - despite lots of looking prior to that! I think they call it sods law...

Thanks again! (I just wish it was so easy to get stuff up and running on a beaglebone. Been struggling to get this display working on that for about a week. I am going to look at porting your code accross)

So nice to have such great support for noobs!

Cheers, Dan

posted by Dan Steenson 21 Jul 2014