Added support for M5Core2 screen (CONFIG_LV_PREDEFINED_DISPLAY_M5CORE2)

Update README.md
This commit is contained in:
Rop Gonggrijp 2021-04-28 11:43:40 +02:00
parent 00dd1504d9
commit 4ba7c76028
3 changed files with 15 additions and 0 deletions

View file

@ -233,6 +233,8 @@ static void ili9341_set_orientation(uint8_t orientation)
#if defined CONFIG_LV_PREDEFINED_DISPLAY_M5STACK
uint8_t data[] = {0x68, 0x68, 0x08, 0x08};
#elif defined (CONFIG_LV_PREDEFINED_DISPLAY_M5CORE2)
uint8_t data[] = {0x08, 0x88, 0x28, 0xE8};
#elif defined (CONFIG_LV_PREDEFINED_DISPLAY_WROVER4)
uint8_t data[] = {0x6C, 0xEC, 0xCC, 0x4C};
#elif defined (CONFIG_LV_PREDEFINED_DISPLAY_NONE)