ricki-z / SDS011

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

Compatibility issue with MKR WAN 1300 #34

Closed JMyrng closed 2 years ago

JMyrng commented 4 years ago

Hi,

with the Arduino MKR WAN 1300 I can´t use SoftwareSerial. So how can I configure the lib to talk to hardware serial Serial1?

I assume that the hardware serial example only works on ESP32? Is that right?

If I setup the object with mySDS.begin(Serial1); there is an error no matching function for call to 'SDS011::begin(Uart&)'.

Mohrengemuse

ergonotec commented 3 years ago

Maybe you are including the default SDS011 library, try specifying the hole path to the one you download with this project.