new pms1003 lib is not complish
Diff: pms1003.h
- Revision:
- 2:b78c3e2583fa
- Parent:
- 1:0a5b0d859173
- Child:
- 3:70716611bacf
--- a/pms1003.h Fri Aug 25 02:55:23 2017 +0000 +++ b/pms1003.h Mon Aug 28 13:23:45 2017 +0000 @@ -1,15 +1,8 @@ -#ifndef _PMS_103_H -#define _PMS_1003_H +#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 PMS1003 { public: //void processData(int *PM1, int *PM25, int *PM10);