Due to high demand expect some shipping delays at this time, orders may not ship for 3-4 business days. On MLK Day no orders will be shipped.
0

Webserver for Adafruit Huzzah32 Feather
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Webserver for Adafruit Huzzah32 Feather

by ChristopherGlasow on Wed Nov 24, 2021 2:13 pm

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

ChristopherGlasow
 
Posts: 7
Joined: Tue May 26, 2020 6:06 am

Re: Webserver for Adafruit Huzzah32 Feather

by franklin97355 on Wed Nov 24, 2021 2:47 pm

If you put preferences to verbose what is the exact error message that you receive?
What board are you compiling for in the ide?

franklin97355
 
Posts: 22410
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Webserver for Adafruit Huzzah32 Feather

by ChristopherGlasow on Wed Nov 24, 2021 6:00 pm

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

ChristopherGlasow
 
Posts: 7
Joined: Tue May 26, 2020 6:06 am

Re: Webserver for Adafruit Huzzah32 Feather

by franklin97355 on Wed Nov 24, 2021 8:25 pm

Did you download and install the library?

franklin97355
 
Posts: 22410
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Webserver for Adafruit Huzzah32 Feather

by ChristopherGlasow on Thu Nov 25, 2021 9:09 am

Hi Franklin97355,

No I assume that using Arduino Create all the libraries are available on the server, have I got that wrong?

Thanks
Chris

ChristopherGlasow
 
Posts: 7
Joined: Tue May 26, 2020 6:06 am

Re: Webserver for Adafruit Huzzah32 Feather

by adafruit2 on Thu Nov 25, 2021 2:11 pm

tbh we don't use Create for ESP32 - Arduino Create is best used for official boards. can you use the desktop IDE?

adafruit2
Site Admin
 
Posts: 20466
Joined: Fri Mar 11, 2005 7:36 pm

Re: Webserver for Adafruit Huzzah32 Feather

by ChristopherGlasow on Thu Nov 25, 2021 6:12 pm

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

ChristopherGlasow
 
Posts: 7
Joined: Tue May 26, 2020 6:06 am

Re: Webserver for Adafruit Huzzah32 Feather

by ChristopherGlasow on Fri Nov 26, 2021 5:54 pm

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

ChristopherGlasow
 
Posts: 7
Joined: Tue May 26, 2020 6:06 am

Re: Webserver for Adafruit Huzzah32 Feather

by franklin97355 on Fri Nov 26, 2021 6:49 pm

Take a look at this learn article https://learn.adafruit.com/add-boards-arduino-v164/setup Then search for huzzah (or esp)

franklin97355
 
Posts: 22410
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Webserver for Adafruit Huzzah32 Feather

by ChristopherGlasow on Sun Dec 05, 2021 6:11 pm

Hi Franklin97355 and Adafruit2

All sorted, many thanks for your help.

ChristopherGlasow
 
Posts: 7
Joined: Tue May 26, 2020 6:06 am

Please be positive and constructive with your questions and comments.