Hi I am trying to read a temperature with HUZZAH32 Feather and DS18B20 by setting up a webserver on Arduino Create. I included the // Import required libraries
#ifdef ESP32
#include <WiFi.h>
#include <ESPAsyncWebServer.h>
from Rui Santos excellent tutorial at https://randomnerdtutorials.com/esp32-d ... duino-ide/ But the #include <ESPAsyncWebServer.h> errors out. Almost certainly a newbie error, so if anyone has any advice on what I should be including it would be great. BTW if I've posted in the wrong index, apologies.
Chris
Webserver for Adafruit Huzzah32 Feather
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- ChristopherGlasow
- Posts: 10
- Joined: Tue May 26, 2020 6:06 am
- Franklin97355
- Posts: 23931
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Webserver for Adafruit Huzzah32 Feather
If you put preferences to verbose what is the exact error message that you receive?
What board are you compiling for in the ide?
What board are you compiling for in the ide?
- ChristopherGlasow
- Posts: 10
- Joined: Tue May 26, 2020 6:06 am
Re: Webserver for Adafruit Huzzah32 Feather
Hi franklin97355,
I get the error: /tmp/223826492/sketch_nov24a/sketch_nov24a.ino:9:33: fatal error: ESPAsyncWebServer.h: No such file or directory
compilation terminated.
Error during build: exit status 1
I am compiling the Adafruit Hazzah32 Feather and using Arduino Create.
Many thanks
Chris
I get the error: /tmp/223826492/sketch_nov24a/sketch_nov24a.ino:9:33: fatal error: ESPAsyncWebServer.h: No such file or directory
compilation terminated.
Error during build: exit status 1
I am compiling the Adafruit Hazzah32 Feather and using Arduino Create.
Many thanks
Chris
- Franklin97355
- Posts: 23931
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Webserver for Adafruit Huzzah32 Feather
Did you download and install the library?
- ChristopherGlasow
- Posts: 10
- Joined: Tue May 26, 2020 6:06 am
Re: Webserver for Adafruit Huzzah32 Feather
Hi Franklin97355,
No I assume that using Arduino Create all the libraries are available on the server, have I got that wrong?
Thanks
Chris
No I assume that using Arduino Create all the libraries are available on the server, have I got that wrong?
Thanks
Chris
- adafruit2
- Posts: 22176
- Joined: Fri Mar 11, 2005 7:36 pm
Re: Webserver for Adafruit Huzzah32 Feather
tbh we don't use Create for ESP32 - Arduino Create is best used for official boards. can you use the desktop IDE?
- ChristopherGlasow
- Posts: 10
- Joined: Tue May 26, 2020 6:06 am
Re: Webserver for Adafruit Huzzah32 Feather
Hi Adafruit2,
No I have a problem loading drivers that use the IDE on my iMAC, it all runs fine when I use Arduino Create, but I always seem to have probems using the IDE. So what you are saying is that the libraries for the Adafruit HAZZAH32 Feather are not avilable for Arduino Create?
I appreciate your help.
thanks
Chris
No I have a problem loading drivers that use the IDE on my iMAC, it all runs fine when I use Arduino Create, but I always seem to have probems using the IDE. So what you are saying is that the libraries for the Adafruit HAZZAH32 Feather are not avilable for Arduino Create?
I appreciate your help.
thanks
Chris
- ChristopherGlasow
- Posts: 10
- Joined: Tue May 26, 2020 6:06 am
Re: Webserver for Adafruit Huzzah32 Feather
Hi Adafruit2
I will try again to load the drivers for the IDE. Can you give me the URL for the HAZZAH32 libraries that I place into 'Additional Boards Manager URLs' in Preferences please?
Thanks again for your help.
Chris
I will try again to load the drivers for the IDE. Can you give me the URL for the HAZZAH32 libraries that I place into 'Additional Boards Manager URLs' in Preferences please?
Thanks again for your help.
Chris
- Franklin97355
- Posts: 23931
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Webserver for Adafruit Huzzah32 Feather
Take a look at this learn article https://learn.adafruit.com/add-boards-a ... v164/setup Then search for huzzah (or esp)
- ChristopherGlasow
- Posts: 10
- Joined: Tue May 26, 2020 6:06 am
Re: Webserver for Adafruit Huzzah32 Feather
Hi Franklin97355 and Adafruit2
All sorted, many thanks for your help.
All sorted, many thanks for your help.
Please be positive and constructive with your questions and comments.