# I need help for the Lcd i2c tutorial

**URL:** <https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645>\
**Category:** Uncategorized\
**Created:** [October 2, 2019, 12:38pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645 "2019-10-02T12:38:21Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikolay-qc](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@nikolay-qc](https://forum.xod.io/u/nikolay-qc)\
**Post date:** [October 2, 2019, 12:38pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/1 "2019-10-02T12:38:21Z")

</div>

I have just started to learn the Xod programming and I am doing the tutorials (on the latest version of MacOs) ; In the tutorial 108-text-lcd, i have made everything as they say, I made all connections on the board as said, but there is always an error on the testing and deployment part (sorry for the screenshots, I can’t put more than one in a post):

 ![50](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/f/fb97b146980e7792f48dd9f91c83f4873d8718d3.png)

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![uther2017](https://avatars.discourse-cdn.com/v4/letter/u/e19adc/32.png) [@uther2017](https://forum.xod.io/u/uther2017)\
**Post date:** [October 2, 2019, 1:31pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/2 "2019-10-02T13:31:30Z")

</div>

Do you have a pic on how you have the nodes connected together?

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [October 2, 2019, 1:56pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/3 "2019-10-02T13:56:54Z")

</div>

If you are doing simulation it will not work, you should use debug, so the wire library error and LLVM

---

<div class="post-metadata">

**Author:** ![nikolay-qc](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@nikolay-qc](https://forum.xod.io/u/nikolay-qc)\
**Post date:** [October 2, 2019, 2:06pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/4 "2019-10-02T14:06:05Z")

</div>

already tried for the debugging. got the same error.

---

<div class="post-metadata">

**Author:** ![nikolay-qc](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@nikolay-qc](https://forum.xod.io/u/nikolay-qc)\
**Post date:** [October 2, 2019, 2:09pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/7 "2019-10-02T14:09:03Z")

</div>

Here it is:  
 ![17](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/6/66625cb9000f2039f05a212d909a69ffa0228982.png)  
oh, and by the way, my Board is an adruino Uno that I connect to an 16x2 Lcd with i2c

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [October 2, 2019, 2:22pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/8 "2019-10-02T14:22:28Z")

</div>

then try, menu \> deploy \> Upgrade Packages and Toolchains

---

<div class="post-metadata">

**Author:** ![nikolay-qc](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@nikolay-qc](https://forum.xod.io/u/nikolay-qc)\
**Post date:** [October 2, 2019, 2:27pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/9 "2019-10-02T14:27:50Z")

</div>

it tells me that all the packages are up to date.

---

<div class="post-metadata">

**Author:** ![uther2017](https://avatars.discourse-cdn.com/v4/letter/u/e19adc/32.png) [@uther2017](https://forum.xod.io/u/uther2017)\
**Post date:** [October 2, 2019, 2:33pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/10 "2019-10-02T14:33:30Z")

</div>

Does it work when you delete the node connected to l2?

---

<div class="post-metadata">

**Author:** ![nikolay-qc](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@nikolay-qc](https://forum.xod.io/u/nikolay-qc)\
**Post date:** [October 2, 2019, 2:35pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/11 "2019-10-02T14:35:13Z")

</div>

No it doesn’t work. It tells me the same error

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [October 2, 2019, 2:39pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/12 "2019-10-02T14:39:55Z")

</div>

delete the folder `.../user/xod/ __package__ ` and try again

many make the mistake of using simulator, even I did it at the beginning, the simulator does not work with board or external libraries

here simulate that node I get the same error, it is something that is not clearly noticed

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/0/031ba3fe7e33201bbb3d75670ee40aab80cee7c5.png)

---

<div class="post-metadata">

**Author:** ![nikolay-qc](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@nikolay-qc](https://forum.xod.io/u/nikolay-qc)\
**Post date:** [October 2, 2019, 8:37pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/13 "2019-10-02T20:37:44Z")

</div>

but when I try with the board and I run the code (with debugger or not) it shows me this :

 ![51](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/9/91af7bc06abc9d7610f250c831668489069ea369.png)

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [October 2, 2019, 10:28pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/14 "2019-10-02T22:28:08Z")

</div>

![20191002_192404](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/1/1b2b4730124bbb79e165f6fa1fc6a003b0451f5a.png)

Up here is the important thing, in the middle of the log … “compiling”, from there or down below the errors will be marked, the part marked in red is a summary but does not say much. It is something very frequent, I recommend reading most of the posts about errors there are many failures that are repeated.

---

<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:** [October 3, 2019, 1:22pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/15 "2019-10-03T13:22:20Z")

</div>

I think I’ve found the problem and here’s a solution that will work for now:

1. Click “Upload to Arduino”
2. Click “Update” button next to the board selection box
3. Close the popup
4. Go to main menu Deploy -\> Upgrade Arduino Packages & Toolchains…
5. Click “Upgrade” button (it should have some outdates packages)

If it does not work for you, please report here again and paste the full log of the compiler tab.

P.S.  
I’ll try to fix it in the nearest hotfix and probably make an autoupdating of the package indexes.

---

<div class="post-metadata">

**Author:** ![nikolay-qc](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@nikolay-qc](https://forum.xod.io/u/nikolay-qc)\
**Post date:** [October 3, 2019, 2:07pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/16 "2019-10-03T14:07:03Z")

</div>

ok, thanks, I will try it when I come home.

---

<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:** [October 3, 2019, 2:17pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/17 "2019-10-03T14:17:56Z")

</div>

Here is the the fix: [https://github.com/xodio/xod/pull/1869](https://github.com/xodio/xod/pull/1869)

It will automatically update package indexes when user opens “Upgrade Arduino Packages & Toolchains” popup. So the procedure will be easier in the version 0.31.1 (just points 4 and 5), which will be released ASAP.

---

<div class="post-metadata">

**Author:** ![nikolay-qc](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@nikolay-qc](https://forum.xod.io/u/nikolay-qc)\
**Post date:** [October 3, 2019, 2:32pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/18 "2019-10-03T14:32:03Z")

</div>

Thank you for all the help!

---

<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:** [October 5, 2019, 2:32pm UTC](https://forum.xod.io/t/i-need-help-for-the-lcd-i2c-tutorial/2645/19 "2019-10-05T14:32:17Z")

</div>

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