So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By 42etus
#76776 I'm just getting started with the ESP8266-12. I have been studying other people's code that uses the <ESP8266WiFi.h> library. The thing is that when I try to include the ESP8266WiFi library using the Arduino IDE into my code, I get this:

#include <ESP8266WiFi.h>
#include <ESP8266WiFiAP.h>
#include <ESP8266WiFiGeneric.h>
#include <ESP8266WiFiMulti.h>
#include <ESP8266WiFiScan.h>
#include <ESP8266WiFiSTA.h>
#include <ESP8266WiFiType.h>
#include <WiFiClient.h>
#include <WiFiClientSecure.h>
#include <WiFiServer.h>
#include <WiFiServerSecure.h>
#include <WiFiUdp.h>

I don't understand how to just get

#include <ESP8266WiFi.h>

Any help would be appreciated
User avatar
By 42etus
#76814
McChubby007 wrote:That's the way the Arduino IDE works. It's fine.


I don't understand your response.

How do I get just the one include, that is: <ESP8266WiFi.h> and leave out the others? It's obviously possible, as I see just the one in a lot of code.