Header for for MePm25Sensor.cpp module.
More...
#include <stdint.h>
#include <stdbool.h>
#include <Arduino.h>
#include "MeConfig.h"
#include "MeSerial.h"
#include "MePort.h"
Go to the source code of this file.
|
|
#define | START_SYSEX1 0x32 |
| |
|
#define | START_SYSEX2 0x3d |
| |
|
#define | LENGTH 28 |
| |
Header for for MePm25Sensor.cpp module.
- Author
- MakeBlock
- Version
- V1.0.0
- Date
- 2016/12/12
- Copyright
- This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
conditions. The main licensing options available are GPL V2 or Commercial:
- Open Source Licensing GPL V2
- This is the appropriate option if you want to share the source code of your
application with everyone you distribute it to, and you also want to give them
the right to share who uses it. If you wish to use this software under Open
Source Licensing, you must contribute all your source code to the open source
community in accordance with the GPL Version 2 when your application is
distributed. See http://www.gnu.org/copyleft/gpl.html
- Description
- This file is a drive for Smart Servo device, The Smart Servo inherited the MeSerial class from SoftwareSerial.
- Method List:
- uint16_t MePm25Sensor::readPm1_0Concentration(void);
- uint16_t MePm25Sensor::readPm2_5Concentration(void);
- uint16_t MePm25Sensor::readPm10Concentration(void);
- uint16_t MePm25Sensor::read0_3NumIn100ml(void);
- uint16_t MePm25Sensor::read0_5NumIn100ml(void);
- uint16_t MePm25Sensor::read1_0NumIn100ml(void);
- uint16_t MePm25Sensor::read2_5NumIn100ml(void);
- uint16_t MePm25Sensor::read5_0NumIn100ml(void);
- uint16_t MePm25Sensor::read10NumIn100ml(void);
- uint16_t MePm25Sensor::setOuputCompatibility(void);
- uint16_t MePm25Sensor::turnOnFanLaser(void);
- uint16_t MePm25Sensor::turnOffFanLaser(void);
- uint16_t MePm25Sensor::OutputIntimeOn(void);
- uint16_t MePm25Sensor::OutputIntimeOff(void);
- uint16_t MePm25Sensor::setOutputIntimePeriod(uint16_t settime);
- uint16_t MePm25Sensor::askForData(void);
- uint16_t MePm25Sensor::coreSelfTest(void);
- uint16_t MePm25Sensor::setCoreSelfTestTime(uint8_t settime);
- uint16_t MePm25Sensor::setCoreEfficient(uint8_t efficent);
- uint16_t MePm25Sensor::rxloop(void);
- uint16_t MePm25Sensor::returnlen(void);
- uint16_t MePm25Sensor::returnchecksum(void);
- History:
`<Author>` `<Time>` `<Version>` `<Descr>`
Zzipeng 2016/12/13 1.0.0 Build the new.