You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot
changed the title
espressif/esp_lcd_touch_cst816s lost the ".scl_speed_hz"
espressif/esp_lcd_touch_cst816s lost the ".scl_speed_hz" (BSP-501)
May 16, 2024
Board
ESP32S3 Dev Module
Hardware Description
waveshare ESP32-S3-Touch-LCD-1.28
IDE Name
VSCODE with IDF 5.2.1
Operating System
Win 11
Description
Error:
#define ESP_LCD_TOUCH_IO_I2C_CST816S_CONFIG()
{
.dev_addr = ESP_LCD_TOUCH_IO_I2C_CST816S_ADDRESS,
.control_phase_bytes = 1,
.dc_bit_offset = 0,
.lcd_cmd_bits = 8,
.flags =
{
.disable_control_phase = 1,
}
}
OK:
#define ESP_LCD_TOUCH_IO_I2C_CST816S_CONFIG()
{
.dev_addr = ESP_LCD_TOUCH_IO_I2C_CST816S_ADDRESS,
.scl_speed_hz = EXAMPLE_TOUCH_CLOCK_HZ,
.control_phase_bytes = 1,
.dc_bit_offset = 0,
.lcd_cmd_bits = 8,
.flags =
{
.disable_control_phase = 1,
}
}
EXAMPLE_TOUCH_CLOCK_HZ define in main.c
Sketch
Other Steps to Reproduce
No response
I have checked existing issues, README.md and ESP32 Forum
The text was updated successfully, but these errors were encountered: