new pms1003 lib is not complish

Dependents:   FTHR_OLED

Revision:
0:c8383cf2dd21
Child:
1:0a5b0d859173
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pms1003.h	Fri Aug 25 02:13:34 2017 +0000
@@ -0,0 +1,25 @@
+#ifndef _PMS_103_H
+#define _PMS_1003_H
+#include "mbed.h"
+#include "max32630fthr.h"
+
+#define Sense_PM        6
+#define CHAR_PRELIM     0x42
+#define NUM_DATA_BYTE   29
+#define CHECK_BYTE      30
+#define PM25_BYTE       12
+
+
+class PMS5003 {
+public:
+    //void processData(int *PM1, int *PM25, int *PM10);
+    void pmProcess(Serial &serial);
+    int getPM1();
+    int getPM25();
+    int getPM10();
+private:
+    int pm1;
+    int pm25;
+    int pm10;
+};
+#endif
\ No newline at end of file