-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Labels
Type: BugSomething isn't workingSomething isn't working
Description
Board
ESP32-S3
Hardware Description
- ESP32-S3-WROOM-1
- SH1107 128x128 display (link)
All latest versions:
- espressif/esp_lcd_sh1107 (1.1.0)
- espressif/esp_lvgl_port (2.6.0)
- lvgl/lvgl (9.3.0)
- idf (5.4.1)
IDE Name
vscode
Operating System
Ubuntu 22.04
Description
The display shows an offset, exactly as with olikraus/u8g2#501, about a quarter of the screen to the right and wrapped around.
However, unlike that issue, setting esp_lcd_panel_set_gap to 96,0 as suggested causes screen corruption. I've tested with a lot of gap values, but I can't seem to get the screen aligned.
Sketch
- i2c_oled example
- Update dependencies to above.
- Set resolution to 128x128 in
i2c_oled_example_main.cL43:44:
#define EXAMPLE_LCD_H_RES 128
#define EXAMPLE_LCD_V_RES 128
- Adjust
lvgl_demo_uiL21:23 to show a border:
lv_obj_set_width(label, lv_display_get_physical_horizontal_resolution(disp));
lv_obj_set_height(label, lv_display_get_physical_vertical_resolution(disp));
lv_obj_set_style_border_width(label, 1, LV_PART_MAIN);
lv_obj_align(label, LV_ALIGN_CENTER, 0, 0);
For the photo, I also disabled scrolling, this screen is really difficult to photograph, but it's clear the border is wrapped around:

Metadata
Metadata
Assignees
Labels
Type: BugSomething isn't workingSomething isn't working