Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By robin
#29269 I had this same error message when trying to use Adafruit_ST7735.h TFT library with ESP8266Wifi.h what I found was that if I swapped the order of the includes.

From this

Code: Select all#include <Adafruit_GFX.h>    // Core graphics library
#include <Adafruit_ST7735.h> // Hardware-specific library
#include <SPI.h>
#include <ESP8266WiFi.h>


To this

Code: Select all#include <ESP8266WiFi.h>
#include <Adafruit_GFX.h>    // Core graphics library
#include <Adafruit_ST7735.h> // Hardware-specific library
#include <SPI.h>


Everything compiled with no errors. :!: I hope this helps.