Mbed library for SPS30 i2c communication (Configured to be interfaced with TresidderOS) Inherits members and methods from SensorDriver class
Diff: sps30.h
- Revision:
- 6:83ed80f27fff
- Parent:
- 4:7558ddc3c7d6
- Child:
- 7:4152825938bf
--- a/sps30.h Fri Mar 08 01:33:37 2019 +0000 +++ b/sps30.h Tue Mar 12 03:26:29 2019 +0000 @@ -39,11 +39,11 @@ class sps30 { public: - enum SPSerror { - SPSnoERROR, //all ok - SPSisReady, //ready ststus register - SPSnoAckERROR, //no I2C ACK error - SPScrcERROR, //CRC error, any + enum SPSError { + SPSNOERROR, //all ok + SPSISREADY, //ready ststus register + SPSNOACKERROR, //no I2C ACK error + SPSCRCERROR, //CRC error, any }; uint16_t ready; /**< 1 = ready, 0 = busy */