B4R Question [ Esp32 ] Wifi configuration

thetahsk

Active Member
Licensed User
Longtime User
Is the ESP8266WiFi library compatible with Esp32 or only with ESP8266 ??

The rESP8266Wifi lib is working on both MCU's
If you are in doubt of a library take a look into the headers.

B4X:
#pragma once
#include "B4RDefines.h"
#ifdef ESP32
#include <WiFi.h>
#include <WiFiClientSecure.h>
#else
#include <ESP8266WiFi.h>
#endif
#include <WiFiUdp.h>
 
Upvote 0
Top