espressif / esp-bsp

Board support components for Espressif development boards
Other
141 stars 76 forks source link

LCD ILI9881C: Supported LCD mirror. Not supported swap XY. #295

Closed espzav closed 2 months ago

espzav commented 3 months ago

ESP-BSP Pull Request checklist

Change description

Updated LCD ILI9881C initialization, set color mode. Add support for mirror x/y. Not supported swap XY by driver.

espzav commented 2 months ago

@suda-morris Thank you for review. All fixed.

espzav commented 2 months ago

According to my testing, both the RGB element order and mirror() only require the use of the 36h command, without needing to set 22h. Could you please confirm this again?

Hi @Lzw655, Awesome! It is not in documentation, but it is working (inverted 22h). I tested before with LCD_CMD_MX_BIT and LCD_CMD_MY_BIT and it didn't work. With same bits, which was used on 22h register, it is working. I will change it in driver. Thank you!

espzav commented 2 months ago

@tore-espressif PTAL