Uno R3 + 20x4 I2C LCD - screen freezes / garbage

Well, since I2C uses analog pins A4 and A5, you obviously cannot use those analog pins for anything else at the same time, but you obviously can use A0 to A3 for analog or digital functionality with no restriction (and A5 and A6 on a Nano/ Pro Mini, analog only) .

belhajskander:
if you are i2c with your lcd you can't use analog pins of your arduino i had the same problem my screen started printing garbage and freezes and when i removed the i2c it worked fine ...all the analog pins returned to it's normal job

You seem to be confused about something here.

belhajskander quoted in case of sly removal. :grinning: