Closed lenaxia closed 3 years ago
Hi,
you probably need to switch rx and tx connections on the board. The library just passes rx and tx (in that order) to SoftwareSerial
constructor:
https://github.com/lewapek/sds-dust-sensors-arduino-library/blob/master/src/Serials.h#L56
Exmaples have sds(rxPin, txPin), however this results in an error. I had to set it as sds(txPin, rxPin) for mine to work.