I am total newbie in Arduino and for the last 3 days I am trying to figure this out.

I would like to use an I2C display for a project. I have installed the LiquidCrystal_I2C, but when I try to upload it I get this wire.h missing message.

Could anyone please help me to understand and fix this?

enter image description here

  • +1 for saying help me to understand ...... too many people only want finished code – jsotola Mar 14 '19 at 17:26
  • Please post code and error as text, not picture. – MatsK Mar 14 '19 at 19:40
  • How do I post codes here? – saicode Mar 15 '19 at 6:15

That library is special. It expects to be placed in the same location as the Wire library. You need to find the location of the Wire library and place this library alongside it. So you have:



  • Thank you for the reply. I seems I have two copies of wire.cpp and wire.h in two different locations. Attached is a screenshot of their locations with respect to the LiquidCrystal_I2C.h and LiquidCrystal_I2C.cpp - is this the problem? Screenshot: i.imgur.com/n7m8UTR.png – saicode Mar 14 '19 at 18:15
  • Just pick one. If they're all the same then it won't matter which. – Majenko Mar 14 '19 at 19:44
  • how can I pick one? (sorry if it's a stupid question) – saicode Mar 15 '19 at 6:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.