Recent Posts

Pages: 1 ... 8 9 [10]
91
Guides & Projects / Re: temp sensors display to webpage
« Last post by XEntity on July 14, 2022, 09:28:32 AM »
You have two issues:

The code you copied is wrong, this line shouldn't have an S on the end:
 #include <ESPAsyncWebServer.h>S

In your logs it was showing the location with -master on the end you should have removed this from the folder title.

If you still can't get it to work let me know :)

92
Guides & Projects / Re: temp sensors display to webpage
« Last post by knighty on July 13, 2022, 23:52:16 PM »
thanks!

this board

https://www.amazon.co.uk/gp/product/B074Q2WM1Y/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1

and I'm copying/pasting the code from here

https://randomnerdtutorials.com/esp8266-ds18b20-temperature-sensor-web-server-with-arduino-ide/?unapproved=768152&moderation-hash=f34f44158302a7ead027b912f984c53a#comment-768152


had it working find outputting temp readings via serial, can;t get it to compile other stuff

made all sorts of arduino led cubes etc. with my nephew when he was little... programing was no problem... feel like I'm banghing my head on a wall now
93
Guides & Projects / Re: temp sensors display to webpage
« Last post by XEntity on July 13, 2022, 08:21:20 AM »
Which board are you using, you said you ordered an arduino but the guide is for an ESP?

I assume you’re using a Node MCU if you can tell me which one and pastebin your code I’ll have a go this evening and if I can get it working I’ll send you the ide
94
Guides & Projects / Re: temp sensors display to webpage
« Last post by knighty on July 12, 2022, 23:17:21 PM »
That means the library the code needs is not there so it does not understand what that does.
So Either...
You removed the wrong one
Part of your code is using one and another part is using the other and there are conflicts.

I put them all back as per he guides, uninstalled Arduino ide deleted the folder and reinstalled it too


I'm lost... I thought it would practically be plug in and play

I'll try on another computer incase somehting weird is going on
95
Guides & Projects / Re: temp sensors display to webpage
« Last post by neXus on July 12, 2022, 08:03:28 AM »
That means the library the code needs is not there so it does not understand what that does.
So Either...
You removed the wrong one
Part of your code is using one and another part is using the other and there are conflicts.

96
Guides & Projects / Re: temp sensors display to webpage
« Last post by knighty on July 11, 2022, 14:18:55 PM »
ok... now I get....

Code: [Select]
Arduino: 1.8.19 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"





















sketch_jul11a:15:12: fatal error: C:\Users\USER\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ESPAsyncWebServer.h>: Invalid argument

   15 |   #include <ESPAsyncWebServer.h>S

      |            ^~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

exit status 1

C:\Users\USER\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ESPAsyncWebServer.h>: Invalid argument



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
97
Guides & Projects / Re: temp sensors display to webpage
« Last post by XEntity on July 11, 2022, 08:41:33 AM »
Not across their coding setup but when you get those sorts of library issues/errors it means multiple versions of the same library being called.


If there is a build/library/package manager just go in and remove the ESPAsyncTCP-master one.
Often if you switch your build or branch for a package etc the old legacy is there so if you run a code Build it runs both. There would be a clean/clear function to clear out?
That or just go to that folder and delete the master one or other depending on which one your actually including in your project.

Looks like it's the other one causing the issue, so just copy this folder out of this location (in case you need to put it back): C:\Program Files (x86)\Arduino\libraries\ESPAsyncTCP
98
Guides & Projects / Re: temp sensors display to webpage
« Last post by neXus on July 11, 2022, 07:12:39 AM »
Not across their coding setup but when you get those sorts of library issues/errors it means multiple versions of the same library being called.


If there is a build/library/package manager just go in and remove the ESPAsyncTCP-master one.
Often if you switch your build or branch for a package etc the old legacy is there so if you run a code Build it runs both. There would be a clean/clear function to clear out?
That or just go to that folder and delete the master one or other depending on which one your actually including in your project.
99
Guides & Projects / Re: temp sensors display to webpage
« Last post by Clock'd 0Ne on July 11, 2022, 06:56:26 AM »
https://forum.arduino.cc/t/error-with-esp8266-libray/578978

Looks like you might not need to install that library separately?  :dunno:

This guy has your error and fixed it installing some missing dependencies:
https://github.com/Aircoookie/WLED/issues/584
100
Guides & Projects / Re: temp sensors display to webpage
« Last post by knighty on July 11, 2022, 01:08:04 AM »
I'm following this guide
https://randomnerdtutorials.com/esp8266-ds18b20-temperature-sensor-web-server-with-arduino-ide/

had it working with 1 temp sensor + code

had it working with 2 temp sensor + code

trying for the web page and I'm getting this error...

Code: [Select]
Arduino: 1.8.19 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

sketch_jul11a:15:12: fatal error: C:\Users\USER\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ESPAsyncWebServer.h>: Invalid argument

Multiple libraries were found for "ESPAsyncTCP.h"

   15 |   #include <ESPAsyncWebServer.h>S

 Used: C:\Program Files (x86)\Arduino\libraries\ESPAsyncTCP

      |            ^~~~~~~~~~~~~~~~~~~~~~

 Not used: C:\Users\USER\Documents\Arduino\libraries\ESPAsyncTCP-master

compilation terminated.

exit status 1

C:\Users\USER\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ESPAsyncWebServer.h>: Invalid argument



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


any ideas anyone?

google isn't helping me, adding removing libraries isn't helping me, fresh download isn't helping me

I'm stuck

it's 1am and I've been at work since 8am, guess it might be more clear in the morning, I'm going home
Pages: 1 ... 8 9 [10]