We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i tryed myself but only get blank white screens i think for some dev in here it's a few minutes to fix.
some more info :
from smartdisplay-demo :
"build": { "arduino": { "ldscript": "esp32_out.ld" }, "core": "esp32", "extra_flags": [ "'-D ARDUINO_ESP32_DEV'", "'-D ESP32_2432S022N'", "'-D DISPLAY_WIDTH=240'", "'-D DISPLAY_HEIGHT=320'", "'-D LVGL_BUFFER_PIXELS=(DISPLAY_WIDTH*DISPLAY_HEIGHT/8)'", "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", "'-D GPIO_BCKL=0'", "'-D DISPLAY_ST7789_I80'", "'-D ST7789_I80_BUS_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'", "'-D ST7789_I80_BUS_CONFIG_DC=16'", "'-D ST7789_I80_BUS_CONFIG_WR=4'", "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D8=15'", "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D9=13'", "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D10=12'", "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D11=14'", "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D12=27'", "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D13=25'", "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D14=33'", "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D15=32'", "'-D ST7789_I80_BUS_CONFIG_BUS_WIDTH=8'", "'-D ST7789_I80_BUS_CONFIG_MAX_TRANSFER_BYTES=(LVGL_BUFFER_PIXELS * sizeof(lv_color_t))'", "'-D ST7789_I80_BUS_CONFIG_PSRAM_TRANS_ALIGN=64'", "'-D ST7789_I80_BUS_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7789_IO_I80_CONFIG_CS_GPIO_NUM=17'", "'-D ST7789_IO_I80_CONFIG_PCLK_HZ=12000000'", "'-D ST7789_IO_I80_CONFIG_TRANS_QUEUE_DEPTH=10'", "'-D ST7789_IO_I80_CONFIG_LCD_CMD_BITS=8'", "'-D ST7789_IO_I80_CONFIG_LCD_PARAM_BITS=8'", "'-D ST7789_IO_I80_CONFIG_DC_LEVELS_DC_IDLE_LEVEL=0'", "'-D ST7789_IO_I80_CONFIG_DC_LEVELS_DC_CMD_LEVEL=0'", "'-D ST7789_IO_I80_CONFIG_DC_LEVELS_DC_DUMMY_LEVEL=0'", "'-D ST7789_IO_I80_CONFIG_DC_LEVELS_DC_DATA_LEVEL=1'", "'-D ST7789_IO_I80_CONFIG_FLAGS_CS_ACTIVE_HIGH=0'", "'-D ST7789_IO_I80_CONFIG_FLAGS_REVERSE_COLOR_BITS=0'", "'-D ST7789_IO_I80_CONFIG_FLAGS_SWAP_COLOR_BYTES=0'", "'-D ST7789_IO_I80_CONFIG_FLAGS_PCLK_ACTIVE_NEG=0'", "'-D ST7789_IO_I80_CONFIG_FLAGS_PCLK_IDLE_LOW=0'", "'-D ST7789_DEV_CONFIG_RESET_GPIO_NUM=GPIO_NUM_NC'", "'-D ST7789_DEV_CONFIG_COLOR_SPACE=ESP_LCD_COLOR_SPACE_RGB'", "'-D ST7789_DEV_CONFIG_BITS_PER_PIXEL=16'", "'-D ST7789_DEV_CONFIG_FLAGS_RESET_ACTIVE_HIGH=false'", "'-D ST7789_DEV_CONFIG_VENDOR_CONFIG=NULL'", "'-D ST7789_RD_GPIO=2'", "'-D DISPLAY_SWAP_XY=false'", "'-D DISPLAY_MIRROR_X=false'", "'-D DISPLAY_MIRROR_Y=false'", "'-D BOARD_HAS_TF'", "'-D TF_CS=5'", "'-D TF_SPI_MOSI=23'", "'-D TF_SPI_SCLK=18'", "'-D TF_SPI_MISO=19'", "'-D BOARD_HAS_SPEAK'", "'-D SPEAK=26'" ], "f_cpu": "240000000L", "f_flash": "40000000L", "flash_mode": "dio", "mcu": "esp32", "variant": "esp32" }, "connectivity": [ "wifi", "bluetooth", "ethernet", "can" ], "debug": { "openocd_board": "esp-wroom-32.cfg" }, "frameworks": [ "arduino", "espidf" ], "name": "esp32-2432S022N", "upload": { "flash_size": "4MB", "maximum_ram_size": 327680, "maximum_size": 4194304, "require_upload_port": true, "speed": 460800 }, "url": "https://www.aliexpress.com/item/1005006284154750.html", "vendor": "Sunton" }
https://github.com/rzeldent/esp32-smartdisplay-demo
https://github.com/lsdlsd88/2.2inch_ESP32-2432S022/tree/main/2.2inch_ESP32-2432S022
The text was updated successfully, but these errors were encountered:
Hi there
i changed the wt32 device display settings to
#define SCR 8 class LGFX : public lgfx::LGFX_Device { lgfx::Panel_ST7789 _panel_instance; lgfx::Bus_Parallel8 _bus_instance; lgfx::Light_PWM _light_instance; lgfx::Touch_FT5x06 _touch_instance;
public: LGFX(void) { { auto cfg = _bus_instance.config(); cfg.freq_write = 25000000; cfg.pin_wr = 4; cfg.pin_rd = 2; cfg.pin_rs = 16;
cfg.pin_d0 = 15; cfg.pin_d1 = 13; cfg.pin_d2 = 12; cfg.pin_d3 = 14; cfg.pin_d4 = 27; cfg.pin_d5 = 25; cfg.pin_d6 = 33; cfg.pin_d7 = 32; _bus_instance.config(cfg); _panel_instance.setBus(&_bus_instance);
}
{ auto cfg = _panel_instance.config();
cfg.pin_cs = 17; cfg.pin_rst = -1; cfg.pin_busy = -1; cfg.panel_width = 240; cfg.panel_height = 320; cfg.offset_x = 0; cfg.offset_y = 0; cfg.offset_rotation = 0; // cfg.dummy_read_pixel = 8; // cfg.dummy_read_bits = 1; cfg.readable = false; cfg.invert = false; cfg.rgb_order = false; cfg.dlen_16bit = false; cfg.bus_shared = true; _panel_instance.config(cfg);
setPanel(&_panel_instance); } };
now i have hansolominer working only there is something wrong some text is off the screen
Sorry, something went wrong.
No branches or pull requests
Hi there !
i tryed myself but only get blank white screens
i think for some dev in here it's a few minutes to fix.
some more info :
from smartdisplay-demo :
"build": {
"arduino": {
"ldscript": "esp32_out.ld"
},
"core": "esp32",
"extra_flags": [
"'-D ARDUINO_ESP32_DEV'",
"'-D ESP32_2432S022N'",
"'-D DISPLAY_WIDTH=240'",
"'-D DISPLAY_HEIGHT=320'",
"'-D LVGL_BUFFER_PIXELS=(DISPLAY_WIDTH*DISPLAY_HEIGHT/8)'",
"'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'",
"'-D GPIO_BCKL=0'",
"'-D DISPLAY_ST7789_I80'",
"'-D ST7789_I80_BUS_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'",
"'-D ST7789_I80_BUS_CONFIG_DC=16'",
"'-D ST7789_I80_BUS_CONFIG_WR=4'",
"'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D8=15'",
"'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D9=13'",
"'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D10=12'",
"'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D11=14'",
"'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D12=27'",
"'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D13=25'",
"'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D14=33'",
"'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D15=32'",
"'-D ST7789_I80_BUS_CONFIG_BUS_WIDTH=8'",
"'-D ST7789_I80_BUS_CONFIG_MAX_TRANSFER_BYTES=(LVGL_BUFFER_PIXELS * sizeof(lv_color_t))'",
"'-D ST7789_I80_BUS_CONFIG_PSRAM_TRANS_ALIGN=64'",
"'-D ST7789_I80_BUS_CONFIG_SRAM_TRANS_ALIGN=4'",
"'-D ST7789_IO_I80_CONFIG_CS_GPIO_NUM=17'",
"'-D ST7789_IO_I80_CONFIG_PCLK_HZ=12000000'",
"'-D ST7789_IO_I80_CONFIG_TRANS_QUEUE_DEPTH=10'",
"'-D ST7789_IO_I80_CONFIG_LCD_CMD_BITS=8'",
"'-D ST7789_IO_I80_CONFIG_LCD_PARAM_BITS=8'",
"'-D ST7789_IO_I80_CONFIG_DC_LEVELS_DC_IDLE_LEVEL=0'",
"'-D ST7789_IO_I80_CONFIG_DC_LEVELS_DC_CMD_LEVEL=0'",
"'-D ST7789_IO_I80_CONFIG_DC_LEVELS_DC_DUMMY_LEVEL=0'",
"'-D ST7789_IO_I80_CONFIG_DC_LEVELS_DC_DATA_LEVEL=1'",
"'-D ST7789_IO_I80_CONFIG_FLAGS_CS_ACTIVE_HIGH=0'",
"'-D ST7789_IO_I80_CONFIG_FLAGS_REVERSE_COLOR_BITS=0'",
"'-D ST7789_IO_I80_CONFIG_FLAGS_SWAP_COLOR_BYTES=0'",
"'-D ST7789_IO_I80_CONFIG_FLAGS_PCLK_ACTIVE_NEG=0'",
"'-D ST7789_IO_I80_CONFIG_FLAGS_PCLK_IDLE_LOW=0'",
"'-D ST7789_DEV_CONFIG_RESET_GPIO_NUM=GPIO_NUM_NC'",
"'-D ST7789_DEV_CONFIG_COLOR_SPACE=ESP_LCD_COLOR_SPACE_RGB'",
"'-D ST7789_DEV_CONFIG_BITS_PER_PIXEL=16'",
"'-D ST7789_DEV_CONFIG_FLAGS_RESET_ACTIVE_HIGH=false'",
"'-D ST7789_DEV_CONFIG_VENDOR_CONFIG=NULL'",
"'-D ST7789_RD_GPIO=2'",
"'-D DISPLAY_SWAP_XY=false'",
"'-D DISPLAY_MIRROR_X=false'",
"'-D DISPLAY_MIRROR_Y=false'",
"'-D BOARD_HAS_TF'",
"'-D TF_CS=5'",
"'-D TF_SPI_MOSI=23'",
"'-D TF_SPI_SCLK=18'",
"'-D TF_SPI_MISO=19'",
"'-D BOARD_HAS_SPEAK'",
"'-D SPEAK=26'"
],
"f_cpu": "240000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"mcu": "esp32",
"variant": "esp32"
},
"connectivity": [
"wifi",
"bluetooth",
"ethernet",
"can"
],
"debug": {
"openocd_board": "esp-wroom-32.cfg"
},
"frameworks": [
"arduino",
"espidf"
],
"name": "esp32-2432S022N",
"upload": {
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
"require_upload_port": true,
"speed": 460800
},
"url": "https://www.aliexpress.com/item/1005006284154750.html",
"vendor": "Sunton"
}
https://github.com/rzeldent/esp32-smartdisplay-demo
https://github.com/lsdlsd88/2.2inch_ESP32-2432S022/tree/main/2.2inch_ESP32-2432S022
The text was updated successfully, but these errors were encountered: