Test firmware for the Supermote hardware.
Dependencies: K30_I2C libxDot-mbed5
Fork of K30_I2C_Program by
HPM/hpm.h
- Committer:
- bjenkins
- Date:
- 2018-09-07
- Revision:
- 2:680fc2690d10
- Child:
- 3:2ab969b31f6b
File content as of revision 2:680fc2690d10:
#ifndef HPM_h #define HPM_h #include "mbed.h" class HPM { public: HPM(Serial* device, Serial* debug); bool init(void); bool start_measurement(void); bool stop_measurement(void); bool read_measurement (long int &PM25, long int &PM10); bool stop_autosend(void); bool start_autosend(void); private: Serial* _device; Serial* _debug; //long int _PM25; //long int _PM10; }; #endif