MCUFriend 2.4" TFTLCD Whitescreen

Sorry for posting another one of these topics as there seems to be a lot. I've done a lot of reading and can't seem to resolve my issue.

I ran the LCD_ID_readreg sketch and this is the output in serial monitor:

Read Registers on MCUFRIEND UNO shield
controllers either read as single 16-bit
e.g. the ID is at readReg(0)
or as a sequence of 8-bit values
in special locations (first is dummy)

reg(0x0000) 47 47   ID: ILI9320, ILI9325, ILI9335, ...
reg(0x0004) 00 00 00 00 Manufacturer ID
reg(0x0009) 3F 3F 3F 3F 3F  Status Register
reg(0x000A) 00 00   Get Power Mode
reg(0x000C) 01 01   Get Pixel Format
reg(0x0061) 00 00   RDID1 HX8347-G
reg(0x0062) 80 80   RDID2 HX8347-G
reg(0x0063) 00 00   RDID3 HX8347-G
reg(0x0064) 00 00   RDID1 HX8347-A
reg(0x0065) 00 00   RDID2 HX8347-A
reg(0x0066) 00 00   RDID3 HX8347-A
reg(0x0067) 00 00   RDID Himax HX8347-A
reg(0x0070) 00 00   Panel Himax HX8347-A
reg(0x00A1) 00 00 00 00 00  RD_DDB SSD1963
reg(0x00B0) 00 00   RGB Interface Signal Control
reg(0x00B4) 00 00   Inversion Control
reg(0x00B6) 00 00 00 00 00  Display Control
reg(0x00B7) 00 00   Entry Mode Set
reg(0x00BF) 00 00 00 00 00 00   ILI9481, HX8357-B
reg(0x00C0) 00 00 00 00 00 00 00 00 00  Panel Control
reg(0x00C8) 00 00 00 00 00 00 00 00 00 00 00 00 00  GAMMA
reg(0x00CC) 00 00   Panel Control
reg(0x00D0) 00 00 00    Power Control
reg(0x00D2) 00 00 00 00 00  NVM Read
reg(0x00D3) 00 00 00 00 ILI9341, ILI9488
reg(0x00D4) 00 00 00 00 Novatek ID
reg(0x00DA) 00 00   RDID1
reg(0x00DB) 00 00   RDID2
reg(0x00DC) 00 00   RDID3
reg(0x00E0) 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 GAMMA-P
reg(0x00E1) 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 GAMMA-N
reg(0x00EF) 49 49 49 49 49 49   ILI9327
reg(0x00F2) 10 10 10 10 10 10 10 10 10 10 10 10 Adjust Control 2
reg(0x00F6) 00 00 00 00 Interface Control

|500x375 |500x375

When I run graphictest_kbv it uploads but I only get the white screen that appears when powered.

Any ideas?

Any ideas

You have a Himax HX8347-D controller. Edit MCUFRIEND_kbv.cpp to enable SUPPORT_8347D.

This is nothing more than removing the two slash characters at the beginning of line #10 (approx)

If you ran the diagnose_TFT_controller sketch from the Examples it would have told you.

David.

Thank you, bizzarly I had done that earlier and it didn't work, however I had been tweeking other files and probably broke something. I restored all the libraries and made that simple edit and it worked.

I ran the diagnose_TFT_support example and it did very briefly flash some information, the second time I ran it I just got a white screen?

Also when I run the MCUFRIEND it works with every example running smoothly but I do get the following:

In file included from D:\Documents\Arduino\libraries\MCUFRIEND_kbv-master\MCUFRIEND_kbv.cpp:33:0,

                 from D:\Documents\Arduino\libraries\MCUFRIEND_kbv-master\OPENSMART_kbv.cpp:16:

D:\Documents\Arduino\libraries\MCUFRIEND_kbv-master\utility/mcufriend_shield.h:18:2: warning: #warning WE ARE USING A SPECIAL CUSTOM DRIVER [-Wcpp]

 #warning WE ARE USING A SPECIAL CUSTOM DRIVER

  ^

Sketch uses 30578 bytes (94%) of program storage space. Maximum is 32256 bytes.
Global variables use 1599 bytes (78%) of dynamic memory, leaving 449 bytes for local variables. Maximum is 2048 bytes.
Low memory available, stability problems may occur.

Is that anything I should worry about?

You have installed the Beta directly from GitHub. It is always wise to install a Release. Only use a Beta if specifically requested. There is nothing new in the Beta for AVR targets. You do need the Beta for fast STM32 targets.

Please leave IDE. Delete this directory. Start IDE. Install library with the IDE Library Manager. You will need to edit SUPPORT_8347D again.

David.

Perfect, thank you very much.