From 72e80282a9db98a9db2870e6fd07d429e9da4784 Mon Sep 17 00:00:00 2001 From: Alexey Zholtikov Date: Sun, 30 Nov 2025 22:37:52 +0300 Subject: [PATCH] fix: pulse duration --- version.txt | 2 +- zh_160x_i2c.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/version.txt b/version.txt index 56fea8a..13d683c 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.0.0 \ No newline at end of file +3.0.1 \ No newline at end of file diff --git a/zh_160x_i2c.c b/zh_160x_i2c.c index 4d36ba6..57f6f7d 100644 --- a/zh_160x_i2c.c +++ b/zh_160x_i2c.c @@ -22,9 +22,9 @@ static const char *TAG = "zh_160x_i2c"; #define LCD_160X_PULSE \ zh_pcf8574_write_gpio(handle, 2, true); \ - esp_delay_us(300); \ + esp_delay_us(500); \ 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_send_command(zh_pcf8574_handle_t *handle, uint8_t command);