Webserver for Adafruit Huzzah32 Feather

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ChristopherGlasow
 
Posts: 10
Joined: Tue May 26, 2020 6:06 am

Webserver for Adafruit Huzzah32 Feather

Post by ChristopherGlasow »

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

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: Webserver for Adafruit Huzzah32 Feather

Post by Franklin97355 »

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

User avatar
ChristopherGlasow
 
Posts: 10
Joined: Tue May 26, 2020 6:06 am

Re: Webserver for Adafruit Huzzah32 Feather

Post by ChristopherGlasow »

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

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: Webserver for Adafruit Huzzah32 Feather

Post by Franklin97355 »

Did you download and install the library?

User avatar
ChristopherGlasow
 
Posts: 10
Joined: Tue May 26, 2020 6:06 am

Re: Webserver for Adafruit Huzzah32 Feather

Post by ChristopherGlasow »

Hi Franklin97355,

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

Thanks
Chris

User avatar
adafruit2
 
Posts: 22144
Joined: Fri Mar 11, 2005 7:36 pm

Re: Webserver for Adafruit Huzzah32 Feather

Post by adafruit2 »

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

User avatar
ChristopherGlasow
 
Posts: 10
Joined: Tue May 26, 2020 6:06 am

Re: Webserver for Adafruit Huzzah32 Feather

Post by ChristopherGlasow »

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

User avatar
ChristopherGlasow
 
Posts: 10
Joined: Tue May 26, 2020 6:06 am

Re: Webserver for Adafruit Huzzah32 Feather

Post by ChristopherGlasow »

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

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: Webserver for Adafruit Huzzah32 Feather

Post by Franklin97355 »

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

User avatar
ChristopherGlasow
 
Posts: 10
Joined: Tue May 26, 2020 6:06 am

Re: Webserver for Adafruit Huzzah32 Feather

Post by ChristopherGlasow »

Hi Franklin97355 and Adafruit2

All sorted, many thanks for your help.

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”