This is my first proper Arduino project, and I am trying to interface a LCD with ILI9325C to a Nano v3 via SPI.
Please see below components purchased:
Arduino Nano V3.0 ATmega328P (Arduino Nano V3.0)
2.8" Touch Screen TFT LCD with all interface (HY28B)
Where believe I am predominantly having trouble is identifying the pinouts between the two.
I believe it should be as follows but cannot find any confirmation on is these are the correct arrangements.
LCD_CS -> Any free Digital pin
LCD_SCK -> D13
LCD_SDO -> D11 (MOSI)
LCD_SDI -> D12 (MISO)
If this IS by chance correct, I have tried to get it working with the Ucglib library and included HelloWorld example.
I have tried modifying the constructor as below, it compiles fine, but I don't get any output on the LCD.
Ucglib4WireSWSPI ucg(ucg_dev_ic_ili9325_18, ucg_ext_ili9325_18, /scl=/ 15, /sda=/ 14, /cd=/ 16, /cs=/ 13, /reset=/ 12);
I am not sure if the SCL, SDA, CD etc are actually correct, as I can't find any clear documentation on how the pins are numbered on the Nano.
MAS3, I spent a lot of time trying to interpret the v3 schematic, but it might as well be written in cave paintings, as I got clearer information from the silk layer on the board itself. Something like the manual on the v2.3 model would have been useful, but unfortunately there is nothing of the sort for the v3 posted on the official site.
What Paul posted was exactly the sort of thing I was looking for.