ricki-z / SDS011

Arduino library for SDS011 dust sensor
GNU General Public License v3.0
81 stars 53 forks source link

Added support for ESP32 architecture #18

Closed misan closed 5 years ago

misan commented 5 years ago

ESP32 does not work with SoftwareSerial so I added some conditionals to the code to remove any reference to it when compiling for that architecture. I have not tried it working with SDS011 yet though.

misan commented 5 years ago

There is something weird though.

Linux and OSX versions work ok as shown here: https://www.youtube.com/watch?v=dY4Q_JXX95M

But Windows version fails compiling the same code (actually it fails linking): https://www.youtube.com/watch?v=MDb4vaZgWUo