Library to manage Inovafitness SDS021 particles sensor
Dependents: LoRaWAN-demo-72-bootcamp SDS021Test
Diff: Sds021.h
- Revision:
- 2:49822e10d111
- Parent:
- 1:fb3d61ffd503
- Child:
- 3:fd34f67797d9
--- a/Sds021.h Sat Jan 28 15:30:53 2017 +0000 +++ b/Sds021.h Sat Jan 28 16:15:03 2017 +0000 @@ -43,7 +43,7 @@ public: - SDS021(PinName tx=D8, PinName rx=D2) : _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, 9600), _PM2_5(0), _PM10(0), _mode(false), _state(true), _interval(0), _id(0xffff) { _firmware.year = 0; } bool update();