SOLVED! HELP this display is driving me crazy!

Hi Guys, I am new to Arduino, I am trying to make a GPS speedometer using a Arduino Micro.

I finally got the GPS to work, now I am trying to get the display to show something other then a white screen.

I purchased my screen from China

I also am using a level shifter 74LVC245A for the display.

this is the code I am working with to test the display.

#include "SPI.h"
#include "Adafruit_GFX.h"
#include "Adafruit_ILI9341.h"

// For the Adafruit shield, these are the default.
#define TFT_DC 9
#define TFT_RST 6
#define TFT_CS 10


Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);

void setup() { 
  tft.begin();
}

void loop(void) {
  Serial.begin(9600);
  Serial.println("COLOR TEST"); 

  testFillScreen();
  delay(1000);  
}

unsigned long testFillScreen() {
  unsigned long start = micros();
  tft.fillScreen(ILI9341_BLACK);
  tft.fillScreen(ILI9341_RED);
  tft.fillScreen(ILI9341_GREEN);
  tft.fillScreen(ILI9341_BLUE);
  tft.fillScreen(ILI9341_YELLOW);
  return micros() - start;
}

any help will be appreciated
Rick

You have a regular 3.3V Red SPI display.
It requires 3.3V logic signals.

Your 74LVC245 should be fine. Since the signals are unidirectional you could have used a simpler chip.

Obviously you must wire it correctly. Please post your schematic.

David.

Micro 74LVC245 Display
PIN in out
1 VCC =3.3v
2 GND=GND
10 2 18 3 CS
6 6 14 4 Reset
9 3 17 5 DC
11 4 16 6 MOSI / SDI
15 5 15 7 SCK
8 LED 500 ohm resister to 3.3v

20=3.3v
1,7,8,9,10,19 =GND

I presume that you mean "Micro" which has an ATmega32U4 like the Leonardo.

MOSI is digital#16 not #11
SCK is digital#15

Your LVC245 wiring is fine.

David.

Thanks David, I will try that out later

Rick

Thanks David, that worked... now to figure out the rest of the code...

Rick