Hello,
MCU: ESP32 Screen: ili9341 CMake and Ninja
Not mirrored texts
I tried the portrait, portrait inverted, landscape, landscape inverted, but they did not work.
sample project
Thanks
check MADCTL register in ili9341. u need to invert x axis also seems colors are wrong. madctl register contains RGB BGR setting. so check pdf. here is function call that u need to use (or simular one ) to fix ur problem.
void MACONTROL(bool MY,bool MX,bool MV,bool ML,bool BGR,bool MH) { volatile uint8_t data=(MY<<7) | (MX<<6) | (MV<<5) |(ML<<4)|(BGR<<3)|(MH<<2); writecommand(ILI9341_MADCTL); writedata(data); }