|
@@ -366,7 +366,7 @@ static const uint16_t ili9328_init[] = {
|
366
|
366
|
static const uint16_t ili9341_init[] = {
|
367
|
367
|
ESC_REG(0x0010), ESC_DELAY(10),
|
368
|
368
|
ESC_REG(0x0001), ESC_DELAY(200),
|
369
|
|
- ESC_REG(0x0036), TERN(GRAPHICAL_TFT_ROTATE_180, 0x00E8, 0x0028),
|
|
369
|
+ ESC_REG(0x0036), TERN(GRAPHICAL_TFT_ROTATE_180, 0x0028, 0x00E8),
|
370
|
370
|
ESC_REG(0x003A), 0x0055,
|
371
|
371
|
ESC_REG(0x002A), 0x0000, 0x0000, 0x0001, 0x003F,
|
372
|
372
|
ESC_REG(0x002B), 0x0000, 0x0000, 0x0000, 0x00EF,
|
|
@@ -658,6 +658,9 @@ uint8_t u8g_dev_tft_320x240_upscale_from_128x64_fn(u8g_t *u8g, u8g_dev_t *dev, u
|
658
|
658
|
setWindow = setWindow_ili9328;
|
659
|
659
|
break;
|
660
|
660
|
case 0x9341: // ILI9341
|
|
661
|
+ WRITE_ESC_SEQUENCE(ili9341_init);
|
|
662
|
+ setWindow = setWindow_st7789v;
|
|
663
|
+ break;
|
661
|
664
|
case 0x8066: // Anycubic / TronXY TFTs (480x320)
|
662
|
665
|
WRITE_ESC_SEQUENCE(ili9488_init);
|
663
|
666
|
setWindow = setWindow_st7789v;
|