-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with #define ESP8266 #17
Comments
#ifndef W5100 || ENC28J60 || ESP8266 #ifndef ESP8266 This way the wifi library included, I checked it. |
I suddenly realized that I've seen your messages in cnc.js project. Do you do the same as me? The fat html sender / thin server (i.e. ESP8266)? |
hi guys, you need to use "#define ESP8266;" I mainly use the ESP8266 to collect data from sensors ans then transmit to the server |
Hi @washo4evr we sorted out with @minithc so it is working now, but I think would be good to make better info in wiki. Many thanks |
Hi, |
In Arduino 1.6.9 didn't detect the define. Defines do not require ";" Should use in the .h file: Also, the ifndef replaced by: Is much cleared and seems to work. |
OK. Did more checking. The problem is definitely in the "ifndef" check. |
Hey Florent |
Hi @washo4evr
I want to use your library but I can not get rid of this error:
#error "above your includes like so : #define ESP8266 "
. I did find older library where I donť have to define this but I want use most up to date library.Also, could by posible use
client.send("list")
? I can now use your library like this:client.send("list", "list", "list")
Here is my Arduino code:
new.txt
Many thanks for reply.
The text was updated successfully, but these errors were encountered: