Compare commits
2 Commits
faec97f6a6
...
f1ce1febc8
| Author | SHA1 | Date | |
|---|---|---|---|
| f1ce1febc8 | |||
| 72e80282a9 |
@@ -1,9 +1,13 @@
|
||||
/**
|
||||
* @file zh_160x_i2c.h
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "zh_pcf8574.h"
|
||||
|
||||
#define ZH_LCD_16X2 1
|
||||
#define ZH_LCD_16X4 0
|
||||
#define ZH_LCD_16X2 1 /*!< LCD size 16x2. */
|
||||
#define ZH_LCD_16X4 0 /*!< LCD size 16x3. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
|
||||
@@ -1 +1 @@
|
||||
3.0.0
|
||||
3.0.1
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user