itead / ITEADLIB_Arduino_WeeESP8266

An easy-to-use Arduino ESP8266 library besed on AT firmware.
MIT License
528 stars 284 forks source link

Compiling with arduino IDE 1.6.6 #50

Open ingeea opened 8 years ago

ingeea commented 8 years ago

does anyone know what is the Problem? i can not compile it with arduino IDE 1.6.6, i get this error: ...WeeESP8266-master/ESP8266.h:38:7: note: in expansion of macro 'ESP8266' class ESP8266 {

   ^
:0:9: error: expected unqualified-id before numeric constant thanks!
chinmoyrick commented 8 years ago

I think you must have remove "-master" . when you unzip github file weeESP8266-master folder created . rename it weeESP8266.

try it ....

DonavanMartin commented 8 years ago

chinmoyrick - Nop

ESP8266 already defined somewhere... So you must change all "ESP8266" by something not define like "WEESP8266" in .ino + ESP8266.h + ESP8266.cpp

justin-romano commented 6 years ago

you can just put #undef ESP8266 just before the class declaration

undef ESP8266

class ESP8266 {