White screen - Using TFT 3.2" LCD shield on Arduino Mega 2560
I'm using an open-smart 3.2-inch TFT LCD shield with driver ic: ILI9327 on Arduino mega and no matter what code I upload from the MCUFRIEND_kbv library it shows me a white screen.
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)
From C:\Users\ ... \Documents\Arduino\libraries\Mcufriend_kbv\extras\mcufriend_how_to.txt
19. OPEN-SMART Shields have different wiring to regular Uno Shields:
Edit utility/mcufriend_shield.h: #define USE_SPECIAL
Edit utility/mcufriend_special.h: #define USE_OPENSMART_SHIELD_PINOUT_xxx e.g. USE_OPENSMART_SHIELD_PINOUT_MEGA
Edit MCUFRIEND_kbv.cpp: #define SUPPORT_8352B
Since ILI9327 is always supported you do not need to edit MCUFRIEND_kbv.cpp
Your title says ILI9327 but the photo in the link shows ILI9329. Both are supported by default.
Please confirm which controller is printed on the pcb.
No, you have an old version of MCUFRIEND_kbv. Just enable USE_OPENSMART_SHIELD_PINOUT
But I suggest that you update the library to v2.9.9 via the IDE Library Manager.
If you are unsure of where you got your library from, delete it. And install properly i.e. via the IDE Library Manager.