Skip to content

Colors issues with ILI9341_2 on ESP32-2432S028R with 2 USB ports #2985

@TheNitek

Description

@TheNitek

I am using bodmer/TFT_eSPI@^2.5.33 on a ESP32-2432S028R with 2 USB ports, which seems to have another variant of the ILI9341_2 (compared to the 1 USB variant).
In general it works well (just needs TFT_INVERSION_ON)

Only issue is that the colors are way of, which looks like very poor gamma settings:

PXL_20231118_134626542

While I don't have a clue how gamma works on the ILI9341, I just started experimenting and noticed that this highly improves the picture quality:

  tft.writecommand(ILI9341_GAMMASET); //Gamma curve selected
  tft.writedata(2);
  delay(120);
  tft.writecommand(ILI9341_GAMMASET); //Gamma curve selected
  tft.writedata(1);

PXL_20231118_145142318

Does the gamma table maybe need a change because of the inversion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions