Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 2:b78c3e2583fa, committed 2017-08-28
- 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);