fix: pulse duration

This commit is contained in:
aZholtikov committed 2025-11-30 22:37:52 +03:00
1 parent faec97f6a6
commit 72e80282a9
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1 +1 @@
3.0.0 3.0.1
+2 -2
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);