Library to manage Inovafitness SDS021 particles sensor
Dependents: LoRaWAN-demo-72-bootcamp SDS021Test
Revision 3:fd34f67797d9, committed 2017-01-30
- Comitter:
- abouillot
- Date:
- Mon Jan 30 21:48:36 2017 +0000
- Parent:
- 2:49822e10d111
- Commit message:
- Fixed usage bug, where the third parameter in not speed but buffer size
Changed in this revision
Sds021.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 49822e10d111 -r fd34f67797d9 Sds021.h --- a/Sds021.h Sat Jan 28 16:15:03 2017 +0000 +++ b/Sds021.h Mon Jan 30 21:48:36 2017 +0000 @@ -43,7 +43,7 @@ public: - SDS021(PinName tx, PinName rx) : _sds021(tx, rx, 9600), _PM2_5(0), _PM10(0), _mode(false), _state(true), _interval(0), _id(0xffff) { + SDS021(PinName tx, PinName rx) : _sds021(tx, rx), _PM2_5(0), _PM10(0), _mode(false), _state(true), _interval(0), _id(0xffff) { _firmware.year = 0; } bool update();