Hi, I hope you can help a newbie to arduino and offer me some suggestions as to why I can't get any output from an SPI TFT Screen.
I've programmed in PicBasic, so find the C++ type code for arduino very alien, so I followed the tutorial https://learn.adafruit.com/adafruit-2-d ... g-and-test to wire up a TFT that I purchased a while back and then ran the code provided in the tutorial.
The code compiled and loaded, and using the com port monitor it displays the timings for each of the demonstration of the graphics routines, so this confirms the code is running. I have the screen (a ILI9341 based device) https://www.ebay.co.uk/itm/3-3V-240x320 ... 2749.l2649 connected on a solderless breadboard. I use the 3.3v header on the arduino to provide power to the breadboard, and have voltage dividers (2 x 1K resistors) on all control lines between the Arduino and screen, so that the 5v logic is presented at around 2.54v to the TFT, which is confirmed via a digital volt meter.
I've also hooked up a logic analyser and this confirms signals are being received on the MOSI and CLK pins (MISO remains at 0v).
However nothing other than the white backlight screen is displayed - no flickering or anything.
I've never used these screens, most of my projects (PIC based and programmed using PicBASIC pro) have just required LCDs, so any pointers would be welcome
Thanks
Malcolm
SPI TFT not working - Advice Please
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Malcky_C
- Posts: 25
- Joined: Wed Feb 21, 2018 8:28 am
Re: SPI TFT not working - Advice Please
Resolved.
I spent an hour googling and found a similar thread https://forum.arduino.cc/index.php?topic=473378.0 which in turn links to http://www.BANNED.co.uk/wiki/in ... onstration
I added the additional lines of code and confirmed the wiring and reloade dthe code - it now works :)
I spent an hour googling and found a similar thread https://forum.arduino.cc/index.php?topic=473378.0 which in turn links to http://www.BANNED.co.uk/wiki/in ... onstration
I added the additional lines of code and confirmed the wiring and reloade dthe code - it now works :)
Please be positive and constructive with your questions and comments.