Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By Chadwixk
#74796 I found some code that states it requires this class, but I am unsure of how to install this in the Arduino IDE. I've read about this topic here, but the issue is Esp.cpp is just a single file, not a full library.

Sorry, I am not the greatest at these type of environment setups in Arduino, but what am I missing. How can I install this?
User avatar
By Chadwixk
#74861 I still get this error on
'class EspClass' has no member named 'getCoreVersion'

Here's my "includes":
Code: Select all#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>        // Include the mDNS library
#include <FS.h> // FOR SPIFFS
#include <Esp.h>
#include <math.h>
#include <ctype.h> // for isNumber check


And the code it is failing on.
Code: Select all  Serial.print("    Core version: "); Serial.println(ESP.getCoreVersion());
  Serial.print("    SDK version: "); Serial.println(ESP.getSdkVersion());
  Serial.print("    Boot version: "); Serial.println(ESP.getBootVersion());
  Serial.print("    Boot mode: "); Serial.println(ESP.getBootMode());