Arduino IDE not recognizing files

uhh i am trying to test a I2C lcd sreen 16*2 with arduino UNO.I have uploaded the code and downloaded the library but it is always showing this compile error
``
C:\Users\urani\AppData\Local\Temp.arduinoIDE-unsaved2025631-22660-kd4e0o.fgv5\HelloWorld\HelloWorld.ino:5:10: fatal error: LiquidCrystal_I2C.h: No such file or directory
#include <LiquidCrystal_I2C.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: LiquidCrystal_I2C.h: No such file or directory
``

Have you installed the LiquidCrystal_I2C library ?

Do you have this file on your PC and, if so, where is it located ?

As your topic does not relate directly to the installation or operation of the IDE it has been moved to the Programming category of the forum

Which version of the IDE are you using ?

yes i have installed the library it is located in
C:\Users\urani\Documents\Arduino\libraries
i have even tried other libraries like hd44780 but on tho too it shows hd44780.h no such file or discovery
arduino:2.3.6

The library files should be located in a folder in C:\Users\urani\Documents\Arduino\libraries

By convention the folder name is the same as the main .h file of the library but that is not strictly necessary

How did you install the libraries ?

library manager

Do a verbose compile of the 'Hello World' I2C sketch and post the entire compile output here in CODE TAGS. Code tags are when you clcik the icon first then paste over the highlighted part. Like this

Please post your full sketch, using code tags when you do

Posting your code using code tags prevents parts of it being interpreted as HTML coding and makes it easier to copy for examination

In my experience the easiest way to tidy up the code and add the code tags is as follows

Start by tidying up your code by using Tools/Auto Format in the IDE to make it easier to read. Then use Edit/Copy for Forum and paste what was copied in a new reply. Code tags will have been added to the code to make it easy to read in the forum thus making it easier to provide help.

It is also helpful to post error messages in code tags as it makes it easier to scroll through them and copy them for examination

What is the path to the sketch that does not compile?

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