jedp / PMSensor-HPMA115

Honeywell HPMA115 series Particulate Matter Sensors. Useful if you want to make a DIY AQI sensor.
Other
11 stars 1 forks source link

Library build fails on PlatformIO project #22

Open hpsaturn opened 1 year ago

hpsaturn commented 1 year ago

When you adding the library on PlatformIO, it tries to compile the main.cc, and fails. This file is in the src directory of the library. If you remove this file (main.cc), everything works fine. I think that maybe is a wrong directory project schema.

PMSensor-HPMA115/src/main.cc:4:10: fatal error: SoftwareSerial.h: No such file or directory

Provisional workaround: remove main.cc

jedp commented 1 year ago

Thanks for the report and the workaround, @hpsaturn. I'll take a look!