-
Notifications
You must be signed in to change notification settings - Fork 63
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
ESP8266 - SparkFun_APDS9960.h:202:1: error: expected declaration before '}' token #11
Comments
The order of the includes seems to matter, and I do not believe that the ESP8266 uses the 'D' prefix for pins. Try this for the beginning of your code:
|
Hello! Did you end up getting this sorted out? From the initial request, it sounds like you are looking for technical assistance; the github issues are used primarily for bugs and pull requests related to the libraries or pcbs. If you still need help, feel free to visit our SparkFun forums and we'll see what we can do to help you out. Thank you! |
The error is valid, An enum definition clashes with similar defined in ESP8266 /* State definitions */
enum {
NA_STATE,
NEAR_STATE,
FAR_STATE,
ALL_STATE
}; in wl_definitions.h : // Default state value for Wifi state field
#define NA_STATE -1
|
Thank you, this resolved problem in my project. |
The following error occur when compiling a sketch for ESP8266:
The sketch is the following:
The text was updated successfully, but these errors were encountered: