# Problems with I2C LCD

**URL:** <https://forum.xod.io/t/problems-with-i2c-lcd/468>\
**Category:** Uncategorized\
**Created:** [January 30, 2018, 3:49pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468 "2018-01-30T15:49:09Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![evil200006](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@evil200006](https://forum.xod.io/u/evil200006)\
**Post date:** [January 30, 2018, 3:49pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/1 "2018-01-30T15:49:09Z")

</div>

Hello, sorry for my English use Google translator.  
Which port you need to specify in ADDR?  
The address of my Lcd 1602 A i2c 0x3F, I tried to initialize the IDE, it works. ![lcd](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/d0354fd592f9846c8c8c720c5f517471183a8e0d.jpg)

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [January 30, 2018, 4:27pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/2 "2018-01-30T16:27:49Z")

</div>

You should enter decimal there. `0x3F` is a hexadecimal number equal to `63` when converted to base 10. Use 63.

---

<div class="post-metadata">

**Author:** ![evil200006](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@evil200006](https://forum.xod.io/u/evil200006)\
**Post date:** [January 30, 2018, 4:53pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/3 "2018-01-30T16:53:48Z")

</div>

Thanks for the reply.  
Yes I tried to enter a 63, while downloading it gives an error [object Object]

---

<div class="post-metadata">

**Author:** ![evil200006](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@evil200006](https://forum.xod.io/u/evil200006)\
**Post date:** [January 31, 2018, 6:09pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/4 "2018-01-31T18:09:43Z")

</div>

![IMG_20180131_195410](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/fbc234803cbfffc73360ec9115ebd1563e416184.jpg)

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [February 2, 2018, 12:47pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/5 "2018-02-02T12:47:00Z")

</div>

Sorry for the delay. I see the problem is in LiquidCrystal library but the message on the photo is truncated and I can’t tell what’s going on exactly. Would you expand the message (click the triangle) and copy/paste the error verbatim here?

Also, what board model do you use? That’s important too.

---

<div class="post-metadata">

**Author:** ![evil200006](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@evil200006](https://forum.xod.io/u/evil200006)\
**Post date:** [February 2, 2018, 6:16pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/6 "2018-02-02T18:16:11Z")

</div>

Hi, thanks for the reply.

I use, Arduino Nano 328.  
Object  
errorCode  
:  
"Failed"  
message  
:  
"src/main.cpp:907:31: fatal error: LiquidCrystal\_I2C.h: No such file or directory↵#include \<LiquidCrystal\_I2C.h\>↵^↵compilation terminated.↵\*\*\* [.pioenvs/nanoatmega328/src/main.o] Error 1↵========================== [ERROR] Took 1.94 seconds ==========================↵↵================================== [SUMMARY] ==================================↵Environment LilyPadUSB [SKIP]↵Environment adafruit\_circuitplayground\_m0 [SKIP]↵Environment atmegangatmega168 [SKIP]↵Environment atmegangatmega8 [SKIP]↵Environment btatmega168 [SKIP]↵Environment btatmega328 [SKIP]↵Environment chiwawa [SKIP]↵Environment diecimilaatmega168 [SKIP]↵Environment diecimilaatmega328 [SKIP]↵Environment due [SKIP]↵Environment dueUSB [SKIP]↵Environment esplora [SKIP]↵Environment ethernet [SKIP]↵Environment fio [SKIP]↵Environment leonardo [SKIP]↵Environment leonardoeth [SKIP]↵Environment lilypadatmega168 [SKIP]↵Environment lilypadatmega328 [SKIP]↵Environment megaADK [SKIP]↵Environment megaatmega1280 [SKIP]↵Environment megaatmega2560 [SKIP]↵Environment micro [SKIP]↵Environment miniatmega168 [SKIP]↵Environment miniatmega328 [SKIP]↵Environment mkr1000USB [SKIP]↵Environment mkrfox1200 [SKIP]↵Environment mkrzero [SKIP]↵Environment mzeroUSB [SKIP]↵Environment mzeropro [SKIP]↵Environment mzeroproUSB [SKIP]↵Environment nanoatmega168 [SKIP]↵Environment nanoatmega328 [ERROR]↵Environment one [SKIP]↵Environment pro16MHzatmega168 [SKIP]↵Environment pro16MHzatmega328 [SKIP]↵Environment pro8MHzatmega168 [SKIP]↵Environment pro8MHzatmega328 [SKIP]↵Environment robotControl [SKIP]↵Environment robotMotor [SKIP]↵Environment the\_things\_uno [SKIP]↵Environment uno [SKIP]↵Environment yun [SKIP]↵Environment yunmini [SKIP]↵Environment zero [SKIP]↵Environment zeroUSB [SKIP]↵========================== [ERROR] Took 1.94 seconds ==========================↵"  
stack  
:  
"Error: src/main.cpp:907:31: fatal error: LiquidCrystal\_I2C.h: No such file or directory↵#include \<LiquidCrystal\_I2C.h\>↵^↵compilation terminated.↵\*\*\* [.pioenvs/nanoatmega328/src/main.o] Error 1↵========================== [ERROR] Took 1.94 seconds ==========================↵↵================================== [SUMMARY] ==================================↵Environment LilyPadUSB [SKIP]↵Environment adafruit\_circuitplayground\_m0 [SKIP]↵Environment atmegangatmega168 [SKIP]↵Environment atmegangatmega8 [SKIP]↵Environment btatmega168 [SKIP]↵Environment btatmega328 [SKIP]↵Environment chiwawa [SKIP]↵Environment diecimilaatmega168 [SKIP]↵Environment diecimilaatmega328 [SKIP]↵Environment due [SKIP]↵Environment dueUSB [SKIP]↵Environment esplora [SKIP]↵Environment ethernet [SKIP]↵Environment fio [SKIP]↵Environment leonardo [SKIP]↵Environment leonardoeth [SKIP]↵Environment lilypadatmega168 [SKIP]↵Environment lilypadatmega328 [SKIP]↵Environment megaADK [SKIP]↵Environment megaatmega1280 [SKIP]↵Environment megaatmega2560 [SKIP]↵Environment micro [SKIP]↵Environment miniatmega168 [SKIP]↵Environment miniatmega328 [SKIP]↵Environment mkr1000USB [SKIP]↵Environment mkrfox1200 [SKIP]↵Environment mkrzero [SKIP]↵Environment mzeroUSB [SKIP]↵Environment mzeropro [SKIP]↵Environment mzeroproUSB [SKIP]↵Environment nanoatmega168 [SKIP]↵Environment nanoatmega328 [ERROR]↵Environment one [SKIP]↵Environment pro16MHzatmega168 [SKIP]↵Environment pro16MHzatmega328 [SKIP]↵Environment pro8MHzatmega168 [SKIP]↵Environment pro8MHzatmega328 [SKIP]↵Environment robotControl [SKIP]↵Environment robotMotor [SKIP]↵Environment the\_things\_uno [SKIP]↵Environment uno [SKIP]↵Environment yun [SKIP]↵Environment yunmini [SKIP]↵Environment zero [SKIP]↵Environment zeroUSB [SKIP]↵========================== [ERROR] Took 1.94 seconds ==========================↵↵ at createCompileError (C:\Users\Arduino\AppData\Local\Programs\xod-client-electron\resources\app.asar\node\_modules\xod-deploy\dist\cloudCompiler.js:34:80)↵ at WebSocket.ws.on.res (C:\Users\Arduino\AppData\Local\Programs\xod-client-electron\resources\app.asar\node\_modules\xod-deploy\dist\cloudCompiler.js:64:14)↵ at emitOne (events.js:96:13)↵ at WebSocket.emit (events.js:188:7)↵ at Receiver.\_receiver.onmessage (C:\Users\Arduino\AppData\Local\Programs\xod-client-electron\resources\app.asar\node\_modules\ws\lib\WebSocket.js:143:47)↵ at Receiver.dataMessage (C:\Users\Arduino\AppData\Local\Programs\xod-client-electron\resources\app.asar\node\_modules\ws\lib\Receiver.js:389:14)↵ at Receiver.getData (C:\Users\Arduino\AppData\Local\Programs\xod-client-electron\resources\app.asar\node\_modules\ws\lib\Receiver.js:330:12)↵ at Receiver.startLoop (C:\Users\Arduino\AppData\Local\Programs\xod-client-electron\resources\app.asar\node\_modules\ws\lib\Receiver.js:165:16)↵ at Receiver.add (C:\Users\Arduino\AppData\Local\Programs\xod-client-electron\resources\app.asar\node\_modules\ws\lib\Receiver.js:139:10)↵ at TLSSocket.\_ultron.on (C:\Users\Arduino\AppData\Local\Programs\xod-client-electron\resources\app.asar\node\_modules\ws\lib\WebSocket.js:139:22)↵ at emitOne (events.js:96:13)↵ at TLSSocket.emit (events.js:188:7)↵ at readableAddChunk (\_stream\_readable.js:176:18)↵ at TLSSocket.Readable.push (\_stream\_readable.js:134:10)↵ at TLSWrap.onread (net.js:551:20)"  
**proto**  
:  
Object

---

<div class="post-metadata">

**Author:** ![evil200006](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@evil200006](https://forum.xod.io/u/evil200006)\
**Post date:** [February 2, 2018, 6:22pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/7 "2018-02-02T18:22:51Z")

</div>

The display is working, I tried to load the Arduino IDE firmware

---

<div class="post-metadata">

**Author:** ![evil200006](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@evil200006](https://forum.xod.io/u/evil200006)\
**Post date:** [February 2, 2018, 6:25pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/8 "2018-02-02T18:25:47Z")

</div>

![IMG_20180202_212236](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/190d786d1f1ae594bd5019a05bd160b1d7a60cbe.jpg)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [February 4, 2018, 6:26pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/9 "2018-02-04T18:26:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [February 5, 2018, 6:42am UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/10 "2018-02-05T06:42:56Z")

</div>



---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [February 5, 2018, 6:45am UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/11 "2018-02-05T06:45:49Z")

</div>

Well, it seems like XOD distro has not set up correctly/completely and you’re missing the `LiquidCrystal_I2C` Arduino library which should be bundled along with XOD.

I summon @brusher_ru to help 🧙 He could say which directory to look into and how to fix it.

---

<div class="post-metadata">

**Author:** ![brusher\_ru](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/brusher_ru/32/12_2.png) [@brusher\_ru](https://forum.xod.io/u/brusher_ru)\
**Post date:** [February 5, 2018, 10:15am UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/12 "2018-02-05T10:15:57Z")

</div>

Hello, @evil200006!  
Thanks for the report.  
I have reproduced this bug and it’s in cloud compilation service with the library for i2c LCD display. 😬

I’ve added the issue about it in the bug tracker and we’ll fix it soon.  
Until then, just compile projects on your machine if you’re using i2c LCD display.

If it does not work for you for some reason, please report it and tell what OS you’re using.

---

<div class="post-metadata">

**Author:** ![evil200006](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@evil200006](https://forum.xod.io/u/evil200006)\
**Post date:** [February 6, 2018, 10:16pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/13 "2018-02-06T22:16:21Z")

</div>

Hi, I’m using Win7 64.  
I from the very beginning used Desktop IDE,  
please explain what you mean by compilation in the cloud?

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [February 6, 2018, 10:20pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/14 "2018-02-06T22:20:39Z")

</div>

It is an option you can check in the new window that pops up when you deploy, just above the debug checkbox, just above the Upload button at the bottom of the window.

---

<div class="post-metadata">

**Author:** ![brusher\_ru](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/brusher_ru/32/12_2.png) [@brusher\_ru](https://forum.xod.io/u/brusher_ru)\
**Post date:** [February 7, 2018, 9:01am UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/15 "2018-02-07T09:01:53Z")

</div>

As @gweimer said, this is an option in the upload pop up.

This one:

 ![36](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/5959b16ce9790647eeb374ec76181a27dd6fdb0c.png)

And the error that you posted looks like you checked this option. Try to compile your code without this option. It should help.

---

<div class="post-metadata">

**Author:** ![evil200006](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@evil200006](https://forum.xod.io/u/evil200006)\
**Post date:** [February 7, 2018, 3:28pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/16 "2018-02-07T15:28:25Z")

</div>

I’m doing like this ![0001](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/0658092498baca8ad64c01d54b06d2d79586037f.jpg)  
In this case, everything loads and works, only the LCD does not boot.

And if you remove the mark, then the download pauses and nothing happens on any project

 ![0003](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/35319cb6c067699cad67caf412e397e88b15c0c0.jpg)

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [February 7, 2018, 5:34pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/17 "2018-02-07T17:34:44Z")

</div>

See quote from another thread… sounds like it could also be your problem.

> [@XOD on Windows 32-bit](https://forum.xod.io/t/xod-on-windows-32-bit/257/17):
>
> Installing of toolchains could take some time depending on the speed of your Internet connection.
> 
> If repeated attempts and a long waiting does not help, try to install toolchains manually. Here is detailed instruction: [Can I manualy install the toolchain? - #2 by brusher\_ru](https://forum.xod.io/t/can-i-manualy-install-the-toolchain/319/2?).

---

<div class="post-metadata">

**Author:** ![evil200006](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@evil200006](https://forum.xod.io/u/evil200006)\
**Post date:** [February 8, 2018, 10:20pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/18 "2018-02-08T22:20:35Z")

</div>

I solved this problem, my project loaded up.

---

<div class="post-metadata">

**Author:** ![evil200006](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@evil200006](https://forum.xod.io/u/evil200006)\
**Post date:** [February 9, 2018, 10:02pm UTC](https://forum.xod.io/t/problems-with-i2c-lcd/468/19 "2018-02-09T22:02:13Z")

</div>

I deleted the win32-avr-tools file.tar.gz he was not downloaded completely. The next time you try to compile, a link error appeared in the console. I downloaded this file from this link and placed it where it was. And it worked.

 ![PumpXod](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/8a7b934e44e3077356977c07d1eb831c45282f4b.jpg)
