LCD 1602 Driver with ESP32 I2C 1.1
This is a complete driver for LCD 1602 using I2C with the ESP32
|
#include "internal/lcd_i2c.h"
Go to the source code of this file.
Macros | |
#define | DEVICE_ADDRESS 0x27 |
#define | LCD_1602_SCREEN_CHAR_WIDTH 16 |
#define | LCD_1602_MAX_ROWS 2 |
Typedefs | |
typedef enum LCD_WRITE_STATUS | LCD_WRITE_STATUS |
Enum for returning the result of writing to the LCD. |
Enumerations | |
enum | LCD_WRITE_STATUS { LCD_WRITE_FINISHED , LCD_WRITE_NOT_FINISHED , LCD_WRITE_INTERRUPTED , LCD_TOO_LONG_STRING } |
Enum for returning the result of writing to the LCD. More... |
Functions | |
LCD_WRITE_STATUS | lcd_1602_send_string (i2c_master_dev_handle_t handle, char *str) |
Writes out data to the LCD. | |
uint8_t | lcd_1602_init (i2c_master_dev_handle_t handle) |
initializes the LCD 1602 correctly according to the datasheet. |