# Help newbie with usermod

**URL:** <https://wled.discourse.group/t/help-newbie-with-usermod/8537>\
**Category:** Usermods\
**Created:** [June 16, 2023, 11:39pm UTC](https://wled.discourse.group/t/help-newbie-with-usermod/8537 "2023-06-16T23:39:50Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![FrancFranc](https://avatars.discourse-cdn.com/v4/letter/f/c6cbf5/32.png) [@FrancFranc](https://wled.discourse.group/u/FrancFranc)\
**Post date:** [June 16, 2023, 11:39pm UTC](https://wled.discourse.group/t/help-newbie-with-usermod/8537/1 "2023-06-16T23:39:50Z")

</div>

Hi all, I would like to use an usermod (I2C 4 Line Display Usermod) that is already in the github wled usermod area. I’m very new to this and I would like to know if I’m understand correctly:

For the v2 usermod I need to compile wled or I just need to download wled binary and than copy the usermod.h to wled00 (just drag the file?)

After, how i have to register the usermods in usermods\_list.cpp?

(All the usermods that is in the github area of wled are already registeted?)  
How I can tweak the option of this usermod, like choose the correct display?  
Thank you all for the support

---

<div class="post-metadata">

**Author:** ![srg74](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/srg74/32/3018_2.png) [@srg74](https://wled.discourse.group/u/srg74)\
**Post date:** [June 17, 2023, 1:46am UTC](https://wled.discourse.group/t/help-newbie-with-usermod/8537/2 "2023-06-17T01:46:36Z")

</div>

Use flags instead of alternating code:

```auto
  -D USERMOD_FOUR_LINE_DISPLAY
  -D USE_ALT_DISPlAY

```

---

<div class="post-metadata">

**Author:** ![FrancFranc](https://avatars.discourse-cdn.com/v4/letter/f/c6cbf5/32.png) [@FrancFranc](https://wled.discourse.group/u/FrancFranc)\
**Post date:** [June 17, 2023, 6:40am UTC](https://wled.discourse.group/t/help-newbie-with-usermod/8537/3 "2023-06-17T06:40:12Z")

</div>

Can you do an example?

---

<div class="post-metadata">

**Author:** ![blazoncek](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blazoncek/32/1886_2.png) [@blazoncek](https://wled.discourse.group/u/blazoncek)\
**Post date:** [June 17, 2023, 2:32pm UTC](https://wled.discourse.group/t/help-newbie-with-usermod/8537/4 "2023-06-17T14:32:12Z")

</div>

Check @Quindor videos.  
I think he is Intermit.Tech on YT.

---

<div class="post-metadata">

**Author:** ![FrancFranc](https://avatars.discourse-cdn.com/v4/letter/f/c6cbf5/32.png) [@FrancFranc](https://wled.discourse.group/u/FrancFranc)\
**Post date:** [June 20, 2023, 10:17pm UTC](https://wled.discourse.group/t/help-newbie-with-usermod/8537/6 "2023-06-20T22:17:26Z")

</div>

thank you, so I figured out how to, but know I got this error when I’m try to connect to the wemos d1 mini,

**SyntaxError: Unexpected token ‘\<’,"**

the display works and shows all the info but the GUI shows the error above  
this is the platformio\_override that i’v made

 ![1](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/f/fa00e1ab342fe26748aee043d552ae96e6b72c91.jpeg)

---

<div class="post-metadata">

**Author:** ![FrancFranc](https://avatars.discourse-cdn.com/v4/letter/f/c6cbf5/32.png) [@FrancFranc](https://wled.discourse.group/u/FrancFranc)\
**Post date:** [June 20, 2023, 10:52pm UTC](https://wled.discourse.group/t/help-newbie-with-usermod/8537/7 "2023-06-20T22:52:54Z")

</div>

the issue above is the same, even if I don’t use the OVERRIDE and just simply compile it

---

<div class="post-metadata">

**Author:** ![FrancFranc](https://avatars.discourse-cdn.com/v4/letter/f/c6cbf5/32.png) [@FrancFranc](https://wled.discourse.group/u/FrancFranc)\
**Post date:** [June 20, 2023, 11:16pm UTC](https://wled.discourse.group/t/help-newbie-with-usermod/8537/8 "2023-06-20T23:16:50Z")

</div>

there’s a strange problem with different compile metod:  
If I download the source code from github, i got this error

 ![1](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/0/0c48d6c268d855290b1ee43976bfd404b91ec370.jpeg)

If I try to compile with the metod of kno.wled.ge where you need to download wledmaster I have the problem that visual studio doesn’t create the bin, but when I try to upload directly from visual studio code to wemos, i got the gui syntax error and wled not work.

I don’t know what to do, and what is the correct way… I search on the internet and see the intermittech video but no one follow the same step of the wled site…

---

<div class="post-metadata">

**Author:** ![blazoncek](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blazoncek/32/1886_2.png) [@blazoncek](https://wled.discourse.group/u/blazoncek)\
**Post date:** [June 21, 2023, 4:42am UTC](https://wled.discourse.group/t/help-newbie-with-usermod/8537/9 "2023-06-21T04:42:10Z")

</div>

You are not using the latest source.  
And as can be seen from 1st screenshot, you successfully flashed ESP.

---

<div class="post-metadata">

**Author:** ![FrancFranc](https://avatars.discourse-cdn.com/v4/letter/f/c6cbf5/32.png) [@FrancFranc](https://wled.discourse.group/u/FrancFranc)\
**Post date:** [June 21, 2023, 8:42am UTC](https://wled.discourse.group/t/help-newbie-with-usermod/8537/10 "2023-06-21T08:42:44Z")

</div>

Thank you! You talk about the u8g2 library?

---

<div class="post-metadata">

**Author:** ![FrancFranc](https://avatars.discourse-cdn.com/v4/letter/f/c6cbf5/32.png) [@FrancFranc](https://wled.discourse.group/u/FrancFranc)\
**Post date:** [June 21, 2023, 9:54am UTC](https://wled.discourse.group/t/help-newbie-with-usermod/8537/11 "2023-06-21T09:54:21Z")

</div>

I change the u8g2 library to the latest and got always the same error, **SyntaxError: Unexpected token ‘\<’,"** even if I don’t use override and try to only compile

---

<div class="post-metadata">

**Author:** ![blazoncek](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blazoncek/32/1886_2.png) [@blazoncek](https://wled.discourse.group/u/blazoncek)\
**Post date:** [June 22, 2023, 2:42pm UTC](https://wled.discourse.group/t/help-newbie-with-usermod/8537/12 "2023-06-22T14:42:15Z")

</div>

“Syntax error” is a bug in current WLED when accessing controls fro AP mode.  
Connect to WiFi and it should work or wait for an update.
