From bbacbed98774d52eb717b70682dbda87dab83dc9 Mon Sep 17 00:00:00 2001 From: Zorrovicky <100660963+Zorrovicky@users.noreply.github.com> Date: Mon, 11 Apr 2022 13:12:51 +0530 Subject: [PATCH] Update lcd16x2_i2c.c hi sir i have changed some its works with I2c --- Tutorial 42 - LCD16x2 I2C/lcd16x2_i2c.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tutorial 42 - LCD16x2 I2C/lcd16x2_i2c.c b/Tutorial 42 - LCD16x2 I2C/lcd16x2_i2c.c index 74ef905..8192755 100644 --- a/Tutorial 42 - LCD16x2 I2C/lcd16x2_i2c.c +++ b/Tutorial 42 - LCD16x2 I2C/lcd16x2_i2c.c @@ -2,6 +2,7 @@ * lcd16x2_i2c.c * * Created on: Mar 28, 2020 + * modified on : April 4 2022 by Zorrovicky * Author: Mohamed Yaqoob */ @@ -46,7 +47,7 @@ static I2C_HandleTypeDef* lcd16x2_i2cHandle; static uint8_t LCD_I2C_SLAVE_ADDRESS=0; #define LCD_I2C_SLAVE_ADDRESS_0 0x4E -#define LCD_I2C_SLAVE_ADDRESS_1 0x7E +#define LCD_I2C_SLAVE_ADDRESS_1 0x27 /* Private functions */ static void lcd16x2_i2c_sendCommand(uint8_t command)