Closed TzOk83 closed 4 years ago
Could you post the output screen of eeprom_writer.hex please?
Here you have it (this is for ILI9340):
Colors are inverted, I can't pass touchscreen calibration.
On ILI9341 colors are ok, but output is the same, and on ILI9329 colors are ok, but the screen is mirrored vertically.
Strange, this looks also like touchscreen is always pressed... Does it work correctly with other arduino applications?
Yes, it works with the example sketches from MCUFriend_kbv, as well as with SDrive MAX v1.2b with swapped X and Y axes in touchscreen (configured like for HX8347G).
XM: PD7 YM: PC2 XP: PC1 YP: PD6 X: ADC1 Y: ADC2
P.S. Comments in touchscreen.c uint16_t readTouch() are misleading...
Could you please run this eeprom_writer.hex.gz, and show me the output?
Here you have:
Damn, this looks correctly...
But the screen is inverted, so you need ili9340. This was for ili9341...
Maybe this will explain more:
I believe this is not using EEPROM data, as this was executed with EEPROM content from a working v1.2b.
Thanks, but this does not matter, the values without touch are necessary.
Please try: eeprom_writer.hex.gz
Touch now works, but colors are still in negative if I choose ILI3940. If I choose ILI3941 everything seems to be ok.
Hm, ok, then i have mixed something up... I will release a new beta v12c3 soon, please test this again.
v12c3 flashed as ILI3941 seems to work ok, but on boot I have message saying TFT-ID: 3940, yet if I flash from ILI3940 folder I have colors inverted.
Thank you.
Ignore it, there are so much display variants in the wild, maybe production failures etc...
Still no-go for screen auto detection with v1.2c2...