2024-06-29 06:35 AM
I using OLED I2C display and its interface with STm32F091VBT6 MCU. My application is fuel dispensing i face issue while dispensing the OLED display is stuck. i cant find any error. can any body know me the solution.
i also attached the OLED & I2C file for reference which i made in keil IDE.
Solved! Go to Solution.
2024-06-29 07:32 AM
There's no error management or recovery. Lot of infinite loops with no timeouts. Yeah, so plenty of opportunities to "stuck" up.
void OLED_Show_0t9_Digit(void)
{
uint8_t buf[6]; << This buffer is too small, strings need a NUL
2024-06-29 07:32 AM
There's no error management or recovery. Lot of infinite loops with no timeouts. Yeah, so plenty of opportunities to "stuck" up.
void OLED_Show_0t9_Digit(void)
{
uint8_t buf[6]; << This buffer is too small, strings need a NUL
2024-07-01 01:42 AM
Hello Tesla DeLorean,
Thanks for give this solution i will take care all the things and upload it again.
if any error found i will contact you.