lcd.init() stop the code completely

Hi everyone
I don't know if this problem is simple or not but since I can't find the answer online, that why I asked for help here
The code was fine before but today when I run the code again it didn't work
I tried many things and realize when i open Serial monitor that whenever I wrote anything that called the LiquidCrystal_I2C library it just stop the code, lcd.init(), lcd.backlight(),... no error, just stop the code completely
Other code working fine after I remove the lcd part and I have tried other library but nothing work
This is the library I used and the code I tested my theory (which was correct that it was indeed my lcd.init acting up)
Thanks

LiquidCrystal_I2C-master.zip (8.99 KB)

LCD_Test.ino (788 Bytes)

As it is so small, please post your sketch here instead of attaching it

Please follow the advice on posting code given in Read this before posting a programming question

In particular note the advice to Auto format code in the IDE and to use code tags when posting code here as it prevents some combinations of characters in code being interpreted as HTML commands such as italics, bold or a smiley character, all of which render the code useless

If the code exceeds the 9000 character inline limit then attach it to a post

The code was fine before but today when I run the code again it didn't work

I don't know what the problem is but code does not just stop working by itself. That means either you have changed something or, if you have not then it is a hardware problem.

Schematic and photos of what you have might be helpful.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.