Open paulhamsh opened 4 months ago
I believe the 2USB versions of the cyd Use ST_7789 display driver .
Ah - thank you, that works and is much easier!On 10 Jul 2024, at 09:45, CoolmdXi @.***> wrote: I believe the 2USB versions of the cyd Use ST_7789 display driver .
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
I have two Cheap Yellow Display ESP32-2432S028 - one with just a Micro USB connection and one with USB C and Micro USB.
The Micro USB works fine with the ILI9341_2_DRIVER setting (plus
`tft.setRotation(3); tft.invertDisplay(1);
)The USB C and Micro USB version doesn't. It works with Lovyan GFX ILI9342 settings, but not ILI9342_DRIVER in this library (which I can see is just the ILI9341 driver anyway).
It works if I copy over the gamma corrections from Lovyan GXFX, so I have put below a modified version of
ILI9341_Init.h
which can use those gamma corrections if the following are set inUser_Settings.h
(basically adding#define ILI9342_GAMMA_2
)You can see the two new gamma settings below the line
// New Gammas for ESP32-2432S028 CYD board with USB C + Micro USB
You may want to include this in the library - or perhaps there is a cleaner way to have optional gamma settings?