Dust sensor
Fork of DustSenzor by
Diff: DustSenzor.h
- Revision:
- 9:93fe9ccde2a9
- Parent:
- 8:faa84647167c
- Child:
- 10:d846eb9ef8e6
--- a/DustSenzor.h Wed Jun 14 17:24:09 2017 +0000 +++ b/DustSenzor.h Thu Jun 15 15:38:32 2017 +0000 @@ -28,19 +28,20 @@ public: DustSenzor ( PinName set, PinName uartTx, PinName uartRx ); + /** Start the communication with sensor. */ void start(); /** Stop the communication with sensor. */ + void stop(); - void stop(); - /** Read the values from a float array with 9 elements. Function is returnig a pointer to the first element of array. + /** Read the values from a float array with 6 elements. + *Function is returnig a pointer to the first element of array. */ float* read(); - private: float value[6]; Serial uart;