-
Notifications
You must be signed in to change notification settings - Fork 53
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
Can not compile SDS011_example for ESP8266 #25
Comments
The same for me sketch\SDS011.cpp: In member function 'void SDS011::begin(HardwareSerial*, int8_t, int8_t)': Edit Adding #ifdef ESP32 fix the problem but I have not tested it |
@zoomx I just tested with the following patch and it compiled for me. The patch to SDS011.cpp looks like this:
|
Thanks! I have made this modifications and it compiles but my sensor is tied to airrohr firmware but I will test it. |
The ESP32 example compiled fine for ESP32 boards, at least in my environment of the Ardoino libraries and IDE.
The SDS011_example would not compile for any ESP8266 board I tested.
I think to fix it you need to do this to SDS011.cpp
I have not tested this. thoughts?
The text was updated successfully, but these errors were encountered: