-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
White screen issue, can't seem to find solution #3510
Comments
Can you run "Read_User_Setup" and send the serial output? |
[code] MOSI = GPIO 13 TFT_D0 = GPIO 12 Font GLCD loaded Do I have to somehow disable the SPI stuff? |
You shouldn't need to but you can be sure just defining SPI pins as -1. Like #define TFT_SCLK -1 |
ReadWrite test still returns all errors. ==========================================
|
I can't debug further because my ESP32 Board version is 3.0.5. If it won't make any problem, I suggest you upgrade from 2.0.17 to it |
When I ugrade to 3.0.5 i get a compilation error. After searching around a bit, somebody suggested rolling it back. |
That is unfortunate. Can happen when switching form 2.x to 3.x. |
Hi all,
I am having a white screen issue.
I first tried the Rainbow screen example - no avail.
Then the Read-Write diagnostic
can't seem to figure it out.
IDE: Arduino IDE
Library Vrsn: 2.5.43
Board Manager Vrsn:2.0.17
TFT: R61581
ESP32: DOIT Devkit V1
Using 8-bit parralel
Below is my changes to the User_setup.h Followed by the serial monitor output after code was uploaded
#define R61581_DRIVER
// Tell the library to use 8-bit parallel mode (otherwise SPI is assumed)
#define TFT_PARALLEL_8_BIT
// The ESP32 and TFT the pins used for testing are:
#define TFT_CS 33 // Chip select control pin (library pulls permanently low
#define TFT_DC 15 // Data Command control pin - must use a pin in the range 0-31
#define TFT_RST 32 // Reset pin, toggles on startup
#define TFT_WR 4 // Write strobe control pin - must use a pin in the range 0-31
#define TFT_RD 2 // Read strobe control pin
#define TFT_D0 12 // Must use pins in the range 0-31 for the data bus
#define TFT_D1 13 // so a single register write sets/clears all bits.
#define TFT_D2 26 // Pins can be randomly assigned, this does not affect
#define TFT_D3 25 // TFT screen update performance.
#define TFT_D4 19
#define TFT_D5 21
#define TFT_D6 27
#define TFT_D7 14
==========================================================================
Pixel value written = 80
Pixel value read = CFD3
ERROR ^^^^
Pixel value written = 100
Pixel value read = CFD3
ERROR ^^^^
Pixel value written = 200
Pixel value read = CFD3
ERROR ^^^^
Pixel value written = 400
Pixel value read = CFD3
ERROR ^^^^
Pixel value written = 800
Pixel value read = CFD3
The text was updated successfully, but these errors were encountered: