Skip to content
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 #12

Open
uutzinger opened this issue Jul 15, 2020 · 0 comments
Open

ESP8266 #12

uutzinger opened this issue Jul 15, 2020 · 0 comments

Comments

@uutzinger
Copy link
Contributor

uutzinger commented Jul 15, 2020

Arduino 1.8.13 with Board Manager installed ESP8266 Community 2.7.2 does not understand:

#ifndef SDA
#define SDA (digitalPinToPinName(PIN_WIRE_SDA))
#endif
#ifndef SCL
#define SCL (digitalPinToPinName(PIN_WIRE_SCL))
#endif

If the instructions are removed, it compiles and works.
It appears that #ifndef does not recognize SDA and SCL.
When it tries to define SDA and SCL with digitalPinToPinName it throws an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant