fix: pulse duration

This commit is contained in:
2025-11-30 22:37:52 +03:00
parent faec97f6a6
commit 72e80282a9
2 changed files with 3 additions and 3 deletions

View File

@@ -1 +1 @@
3.0.0 3.0.1

View File

@@ -22,9 +22,9 @@ static const char *TAG = "zh_160x_i2c";
#define LCD_160X_PULSE \ #define LCD_160X_PULSE \
zh_pcf8574_write_gpio(handle, 2, true); \ zh_pcf8574_write_gpio(handle, 2, true); \
esp_delay_us(300); \ esp_delay_us(500); \
zh_pcf8574_write_gpio(handle, 2, false); \ zh_pcf8574_write_gpio(handle, 2, false); \
esp_delay_us(400); esp_delay_us(500);
static void _zh_160x_lcd_init(zh_pcf8574_handle_t *handle); static void _zh_160x_lcd_init(zh_pcf8574_handle_t *handle);
static void _zh_160x_send_command(zh_pcf8574_handle_t *handle, uint8_t command); static void _zh_160x_send_command(zh_pcf8574_handle_t *handle, uint8_t command);