STM32 HAL with CubeMX: Tutorial 42 - I2C LCD16x2 driver

preview_player
Показать описание
This tutorial shares a software driver for the I2C LCD16x2 display for STM32 MCUs using HAL Library.
Library files:
Рекомендации по теме
Комментарии
Автор

Glad to say, this is one of the few channels were you actually get clear and fast learning content

zepovinho
Автор

Wow its amazing how simply and clearly this library has been written. I hope tommorow its will work correctly in my project. Thans for sharing, i appryciate that, i there are a lot of work ahead me to by able do sommething simmilar by myself.

kanal
Автор

thank you so much for this series! These videos are incredibely useful for learning about embedded programming using these MCUs - I have done the ADC, DAC, the LCD with I2C, and looking forward to doing the other ones.

cargo
Автор

Welcome back Akhi Muhammad Yaqoob, we miss you..

Best Regards.

Engineer_Valat
Автор

Nice to have you back Muhammad! And this was just the example I was looking for ;-)

idratherbemaking
Автор

you cant guess how i appreciate you for this tutorial

arandomwho
Автор

Great job bro I always wait for your nice tutorial

abdulwaiz
Автор

You can switch to the dark theme in Cube IDE, looks cooler and easier on the eyes.

spiralbrain
Автор

Hi Yaqoob, great tutorials. However, I want to know if your library can also work with I2C LCD 20x4 display?

faustinhoka
Автор

OMG, this tutourial is amazing, I was able to set up my display in 15 minutes :0.
One thing:
In the "lcd16x2_i2c.h" file in line 307 is an unclosed command:
ear

*/

I don't know what it is supposed to do, I just closed the command and it works!

/*
ear
*/

luxxxa
Автор

Trying to compile lcd16x2_i2c.c file, it fails to compile with multiple errors of redefinition. FOr example, error: redefinition of 'lcd16x2_i2c_printf'. Please any help? I'm using CUBE IDE 1.5

KANUPOLAS
Автор

Thank you soo much its working for me.

dineshsundarschannel
Автор

Hi, I have a Nucleo-401RE using STM32CubeIDE version 1.8.0. Added the lcd16x2_i2c.c and /h files to the project (Core/Src and Core/Inc) and get 22 errors when I build. All errors are in the .lcd16x2_i2c.c file "redefinition of" starting on line 47. I assume it is a setup problem on my end. Any thoughts?

taylorsailing
Автор

Thank you very much but my question is "where are all the libraries kept "?

walterhynson
Автор

Hello, Mohamed I am facing a problem so ı need to ask if ı am wondering you can answer me? When ı add -u_printf_float to the miscellaneous section and build the code, ı am having a building problem. `.text' will not fit in region `FLASH' and region `FLASH' overflowed by 8120 bytes. Can you help me ?

mustafasenturk
Автор

Thank you very much for your effort. Unfortunately, c and h files are mixed.

mehmetinci
Автор

FYI your audio is better. All the best with Shut down. Day 9 for me. Lol

naasikhendricks
Автор

the code has a mistake in theheader file, it has a part of the .c file, and also qhen you remove that part, the .c file does not recognizes the functions of the library

marianagomezsarmiento
Автор

Hey, excellent video but i am working with a STM32f4 nucleo .. What do I have to change to make it work? I suspect that got something to do with the slave address, cause I tried to make all the steps and it not prints the hello.. can you help me please?

carlosoliveira
Автор

May I know how is it done in Keil uV5 ?

KalyanChandraGurajapu