Description
I have successfully tested the WiFiClock example using the ST7262 driver IC with an 800x480 LCD. Now, I'm attempting to make the same RGB interface work with an SC7283 driver IC and a 480x272 LCD. However, due to the difference in resolution, the display appears in the bottom right corner, showing only a quarter of the screen.
When I modify the
#define ESP_PANEL_LCD_WIDTH (480)
#define ESP_PANEL_LCD_HEIGHT (272)
the following error appears :
13:55:55.308 -> Build:Mar 27 2021
13:55:55.308 -> rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
13:55:55.342 -> Saved PC:0x4037b8ee
13:55:55.342 -> SPIWP:0xee
13:55:55.342 -> mode:DIO, clock div:1
13:55:55.342 -> load:0x3fce3818,len:0x508
13:55:55.342 -> load:0x403c9700,len:0x4
13:55:55.342 -> load:0x403c9704,len:0xad0
13:55:55.342 -> load:0x403cc700,len:0x29d8
13:55:55.342 -> entry 0x403c9880
13:55:55.782 -> Squareline WiFi clock example start
13:55:55.857 -> Initialize panel device
13:55:55.857 -> D (79) ESP_Panel: Panel init start
13:55:55.857 -> D (79) ESP_Panel: Use LCD
13:55:55.857 -> D (79) ESP_Panel: Use RGB bus
13:55:55.857 -> D (79) ESP_Panel: Create LCD bus
13:55:55.891 -> D (81) ESP_Panel: Create LCD device
13:55:55.891 -> D (84) ESP_Panel: Initialize host
13:55:55.891 -> D (87) ESP_Panel: Panel init end
13:55:55.891 -> D (90) ESP_PanelHost: Destory
13:55:55.891 -> D (93) ESP_Panel: Panel begin start
13:55:55.891 -> D (96) ESP_Panel: Begin LCD
13:55:55.891 -> E (99) lcd_panel.rgb: esp_lcd_new_rgb_panel(251): fb size must be even multiple of bounce buffer size
13:55:55.891 ->
13:55:55.974 -> assert failed: virtual bool ESP_PanelLcd_ST7262::init() C:\Users\jerry\projects\arduinov3\portable\libraries\ESP32_Display_Panel\src\lcd\ST7262.cpp:65 ((esp_lcd_new_rgb_panel(vendor_config.rgb_config
13:55:55.974 ->
13:55:55.974 ->
13:55:55.974 -> Backtrace: 0x4037742a:0x3fcebdb0 0x4037e46d:0x3fcebdd0 0x403847dd:0x3fcebdf0 0x42006bda:0x3fcebf⸮⸮⸮
In the case of using the same RGB interface, can some parameters modified for the ST7262 be applied to the SC7283? Or is there support provided for the SC7283?