My ElectroPeak 2.4" display shield is totally lit up white but bnothing else happens

i tried the following example shown on Arduino 2.4″ Touch Screen LCD Shield Tutorial - Hackster.io
It compiles and uploads without errors but my ElectroPeak 2.4" display shield is totally lit up white but nothing else happens. Does this mean that my LCD shield is bad or am I doing something wrong?

Thanks in advance for any helpful suggestions.

/*
TFT LCD - TFT Touch Coordinate
Based on Librery Example
modified on 21 Feb 2019
by Saeed Hosseini






*/

#include <stdint.h>
#include "TouchScreen.h"

#define YP A2
#define XM A3
#define YM 8
#define XP 9

// For better pressure precision, we need to know the resistance
// between X+ and X- Use any multimeter to read it
// For the one we're using, its 300 ohms across the X plate
TouchScreen ts = TouchScreen(XP, YP, XM, YM, 300);

void setup(void) {
Serial.begin(9600);
}

void loop(void) {

TSPoint p = ts.getPoint();
if (p.z > ts.pressureThreshhold) {
Serial.print("X = "); Serial.print(p.x);
Serial.print("\tY = "); Serial.print(p.y);
Serial.print("\tPressure = "); Serial.println(p.z);
}
delay(100);
}

I expect you are flooding your terminal and the display. Change your delay to at least 1000 to verify that. I also recommend you up your terminal baud to 115200 if your hardware supports it (it should). Be sure to change Serial.begin(9600); to Serial.begin(115200); While your at it post an annotated schematic showing exactly how you wired it with links to technical information on the parts.

Thanks for the reply. I added the delay time ,but still no change. I think it might be the backlight is on too bright but I don’t know how to adjust that

How about the example code in the library? I have not worked with this unit but most libraries include examples.

I tried an example from the library but same result

At this point I would guess that if there is no wiring mistook it is a bad part. Check with your vendor for a replacement and possibly a way to test it.

I don’t suspect the wiring as it is an Arduino shield LCD

The Touch example does not write anything to the display.
So the back light will be on and the screen will just be white with the Touch example.
Only the Touch point is printed in the serial monitor.

When you try an example , from which library is that?
What is your screen driver?

So, I continue to struggle to get this LCD shield to work, but all I get is a bright-white screen, and there doesn't appear to be a way to dim the backlight or adjust the brightness or contrast of this device. Then I tried the following code, but still the same result.(bright-white screen only)

//  LCDtest

/* ILI9225 Driver /
/ 
 */

// Include application, user and local libraries
#include "SPI.h"
#include "TFT_22_ILI9225.h"

#define TFT_RST 8
#define TFT_RS  9
#define TFT_CS  10  // SS
#define TFT_SDI 11  // MOSI
#define TFT_CLK 13  // SCK
#define TFT_LED 3   // 0 if wired to +5V directly

/*
Hardware hookup

LCD Pin                 Arduino Pin




1  Vcc                 Vcc
2  Gnd                 Gnd
3  Gnd                 Gnd or N/C
4                      N/C
5                      N/C
6  LED (backlight)     D3
7  CLK                 D13 (SCK)
8  SDI                 D11 (MOSI)
9  RS                  D9
10  RST                 D8
11  CS                  D10
*/

// Use hardware SPI (faster - on Uno: 13-SCK, 12-MISO, 11-MOSI)
TFT_22_ILI9225 tft = TFT_22_ILI9225(TFT_RST, TFT_RS, TFT_CS, TFT_LED);
// Use software SPI (slower)
//TFT_22_ILI9225 tft = TFT_22_ILI9225(TFT_RST, TFT_RS, TFT_CS, TFT_SDI, TFT_CLK, TFT_LED);

// Variables and constants
uint16_t x, y;
boolean flag = false;

// Setup
void setup() {
tft.begin();
Serial.begin(9600);
}

// Loop
void loop() {

tft.drawRectangle(0, 0, tft.maxX() - 1, tft.maxY() - 1, COLOR_WHITE);
tft.setFont(Terminal6x8);
tft.drawText(10, 10, "ILI9225");
delay(1000);

tft.clear();
tft.drawText(10, 20, "clear");
delay(1000);

tft.drawText(10, 30, "Small Font");
tft.setBackgroundColor(COLOR_YELLOW);
tft.setFont(Terminal12x16);
tft.drawText(90, 30, "BIG FONT", COLOR_RED);
tft.setBackgroundColor(COLOR_BLACK);
tft.setFont(Terminal6x8);
delay(1000);

tft.drawText(10, 40, "setBacklight off");
delay(500);
tft.setBacklight(LOW);
delay(500);
tft.setBacklight(HIGH);
tft.drawText(10, 50, "setBacklight on");
delay(1000);

tft.drawRectangle(10, 10, 110, 110, COLOR_BLUE);
tft.drawText(10, 60, "rectangle");
delay(1000);

tft.fillRectangle(20, 20, 120, 120, COLOR_RED);
tft.drawText(10, 70, "solidRectangle");
delay(1000);

tft.drawCircle(80, 80, 50, COLOR_YELLOW);
tft.drawText(10, 80, "circle");
delay(1000);

tft.fillCircle(90, 90, 30, COLOR_GREEN);
tft.drawText(10, 90, "solidCircle");
delay(1000);

tft.drawLine(0, 0, tft.maxX() - 1, tft.maxY() - 1, COLOR_CYAN);
tft.drawText(10, 100, "line");
delay(1000);

for (uint8_t i = 0; i < 127; i++)
tft.drawPixel(random(tft.maxX()), random(tft.maxY()), random(0xffff));
tft.drawText(10, 110, "point");
delay(1000);

for (uint8_t i = 0; i < 4; i++) {
tft.clear();
tft.setOrientation(i);
tft.drawRectangle(0, 0, tft.maxX() - 1, tft.maxY() - 1, COLOR_WHITE);
tft.drawText(10, 10, "setOrientation (" + String("0123").substring(i, i + 1) + ")");
tft.drawRectangle(10, 20, 50, 60, COLOR_GREEN);
tft.drawCircle(70, 80, 10, COLOR_BLUE);
tft.drawLine(30, 40, 70, 80, COLOR_YELLOW);
delay(1000);
}

tft.setOrientation(0);
tft.clear();
tft.setFont(Terminal12x16);
tft.setBackgroundColor(COLOR_YELLOW);
tft.drawText(10, 40, "Loony Tunes!", COLOR_RED);
tft.setBackgroundColor(COLOR_RED);
tft.setFont(Terminal6x8);
delay(1000);

tft.drawText(10, 60, "  That's all folks!   ");

tft.setFont(Terminal12x16);
tft.setBackgroundColor(COLOR_BLUE);
tft.drawText(10, 100, "   ILI9225   ");
delay(1000);

/*
tft.setBacklight(false);
tft.setDisplay(false);
*/

while(true);

}


I have been trying to contact ElectroPeak for suggestions but haven't received a response from them yet.. Any thoughts?
Thanks in advance!

What Board are you using , you call the screen a shield so it should plug into a Arduino Board ??

Post a picture.

From the ElectroPeak link the screen use D0 to D7 for data lines and you use SPI , there is a lot of confusion.

Again post pic's.

I don’t know how to post a picture on here but yes it is a shield
it plugs into the Arduino Uno

Then the SPI Library will not work.

Open the Arduino forum from your phone.
Click on reply , there is a upload Icon in the bottom right corner.

Tap on the upload Icon , your camera will open , take a picture and reply.

Does your screen look like this?

Yes

Use the MCUFriend kbv library , available in the Library manager.

Run the graphics example.