News

moodlite - Coming soon


Error IDE [ESP8266]

Nicostrato · 1265

Nicostrato

  • Newbie
  • *
    • Posts: 4
    • Likes: +0/-0
    • View Profile
on: January 10, 2019, 12:15:30 AM
What did I forget to do?

Code: [Select]
Moodlite:25:25: error: ESPAsyncTCP.h: No such file or directory

 #include <ESPAsyncTCP.h>

                         ^

compilation terminated.

exit status 1
ESPAsyncTCP.h: No such file or directory



shfaxx

  • Jr. Member
  • **
    • Posts: 95
    • Likes: +13/-0
    • View Profile
Reply #1 on: January 10, 2019, 12:19:15 AM
What did I forget to do?

Code: [Select]
Moodlite:25:25: error: ESPAsyncTCP.h: No such file or directory

 #include <ESPAsyncTCP.h>
You need to add all the libraries. Check the links in the github docs.  Also need one more timelib which is a prerequisite for the time zone library.
                         ^

compilation terminated.

exit status 1
ESPAsyncTCP.h: No such file or directory



Nicostrato

  • Newbie
  • *
    • Posts: 4
    • Likes: +0/-0
    • View Profile
Reply #2 on: January 10, 2019, 01:13:12 AM
What did I forget to do?

Code: [Select]
Moodlite:25:25: error: ESPAsyncTCP.h: No such file or directory

 #include <ESPAsyncTCP.h>
You need to add all the libraries. Check the links in the github docs.  Also need one more timelib which is a prerequisite for the time zone library.
                         ^

compilation terminated.

exit status 1
ESPAsyncTCP.h: No such file or directory

https://prnt.sc/m55ps9
what is wrong?



spigot

  • Global Moderator
  • Full Member
  • *****
    • Posts: 113
    • Likes: +25/-0
  • There's no place like 127.0.0.1
    • View Profile
Reply #3 on: January 10, 2019, 05:22:39 AM
You're missing ESPAsyncTCP library -> look at github (the warning about TImeZone and FasLed is OK).

If you have problems please provide information which steps did you take. I can't help you if I don't know what you're doing?
« Last Edit: January 10, 2019, 05:29:23 AM by spigot »



LordVader

  • moodlite Developer
  • Full Member
  • *****
    • Posts: 113
    • Likes: +7/-0
  • I find your lack of faith disturbing!
    • View Profile
Reply #4 on: January 10, 2019, 07:35:59 AM
We really should add all the necessary steps (including downloading libraries and stuff) to the wiki.
There are enough people that wanna use Moodlite but have never been in touch with Arduinos.

If I can help you with that, let me know.
« Last Edit: January 10, 2019, 07:54:44 AM by LordVader »



Nicostrato

  • Newbie
  • *
    • Posts: 4
    • Likes: +0/-0
    • View Profile
Reply #5 on: January 10, 2019, 07:49:38 AM
You're missing ESPAsyncTCP library -> look at github (the warning about TImeZone and FasLed is OK).

If you have problems please provide information which steps did you take. I can't help you if I don't know what you're doing?


Hi,

Yeah, I'm a programmer but never used an Arduino before. I got it sorted out, and added all needed steps.
I have the web interface running and is working fine, the only thing is I get an error when flashing. After that, it is working fine.

https://prnt.sc/m58rxs



LordVader

  • moodlite Developer
  • Full Member
  • *****
    • Posts: 113
    • Likes: +7/-0
  • I find your lack of faith disturbing!
    • View Profile
Reply #6 on: January 10, 2019, 07:56:09 AM
Hey Nicostrato,
that error in your screenshot can be neglected.


Nicostrato

  • Newbie
  • *
    • Posts: 4
    • Likes: +0/-0
    • View Profile
Reply #7 on: January 10, 2019, 08:21:06 AM
Hey Nicostrato,
that error in your screenshot can be neglected.

Thanks,
Now I have to set up my LEDs, I have a WS2812 - 2 meter -  60  - IP30.
How to count my LEDs and which lines do I have to adjust?



spigot

  • Global Moderator
  • Full Member
  • *****
    • Posts: 113
    • Likes: +25/-0
  • There's no place like 127.0.0.1
    • View Profile
Reply #8 on: January 10, 2019, 08:43:49 AM
You need to cut the strip as you wish. Some people use 1 LED per corner (3 LEDs in one tile). I'm using 3 LEDs per corner (9 LEDs in one tile). And then how many tiles do you want to use (nr. of tiles x 3 x nr. of leds per corner = total nr. of leds).

Then you need to parametrize it over web interface:
1. Nr. of LEDs/Corner
2. Total Nr. of LEDs

So for example. You want to use 1 LED per corner and 3 Tiles. Then:
Nr. of LEDs/Corner  = 1
Total Nr. of LEDs  = 9



spigot

  • Global Moderator
  • Full Member
  • *****
    • Posts: 113
    • Likes: +25/-0
  • There's no place like 127.0.0.1
    • View Profile
Reply #9 on: January 10, 2019, 08:45:29 AM
We really should add all the necessary steps (including downloading libraries and stuff) to the wiki.
There are enough people that wanna use Moodlite but have never been in touch with Arduinos.

If I can help you with that, let me know.

Yes, I agree. I want to do that. So if you want to help with the wiki I would appreciate it.



 


SMF spam blocked by CleanTalk