new pms1003 lib is not complish

Dependents:   FTHR_OLED

Files at this revision

API Documentation at this revision

Comitter:
feilang
Date:
Mon Aug 28 13:23:45 2017 +0000
Parent:
1:0a5b0d859173
Child:
3:70716611bacf
Commit message:
adjust

Changed in this revision

pms1003.h Show annotated file Show diff for this revision Revisions of this file
--- 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);