new pms1003 lib is not complish

Dependents:   FTHR_OLED

Committer:
feilang
Date:
Thu Sep 07 15:31:29 2017 +0000
Revision:
3:70716611bacf
Parent:
2:b78c3e2583fa
admend;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
feilang 2:b78c3e2583fa 1 #ifndef _PMS_103_H_
feilang 2:b78c3e2583fa 2 #define _PMS_1003_H_
feilang 0:c8383cf2dd21 3 #include "mbed.h"
feilang 0:c8383cf2dd21 4 #include "max32630fthr.h"
feilang 0:c8383cf2dd21 5
feilang 1:0a5b0d859173 6 class PMS1003 {
feilang 0:c8383cf2dd21 7 public:
feilang 0:c8383cf2dd21 8 void pmProcess(Serial &serial);
feilang 0:c8383cf2dd21 9 int getPM25();
feilang 0:c8383cf2dd21 10 private:
feilang 0:c8383cf2dd21 11 int pm25;
feilang 0:c8383cf2dd21 12 };
feilang 0:c8383cf2dd21 13 #endif