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.
Dependencies: mbed MMA8451Q USBDevice WakeUp vt100
Fork of afero_node_suntory_2017_06_15 by
sensors/LiquidPressure/LiquidPressure.hpp
- Committer:
- Rhyme
- Date:
- 2017-10-18
- Revision:
- 23:e4d2316383a1
- Parent:
- 21:d03c7bbb9f37
File content as of revision 23:e4d2316383a1:
#ifndef _LIQUID_PERSSURE_H_ #define _LIQUID_PERSSURE_H_ #if defined (__MBED__) #include "mbed.h" #endif #include "ToDoQ.h" #include "Preferences.hpp" #include "TimeEventHandler.hpp" #include "Singletoned.hpp" #include "RTC_Handler.h" class LiquidPressure : public ToDo, public TimeEventHandler<LiquidPressure>, public Singletoned<LiquidPressure> { LiquidPressure(); ~LiquidPressure(); float calc(); float val; AnalogIn *ain; void go(); public: friend class TimeEventHandler; friend class Singletoned; virtual void toJSON(char*); virtual void getBytes(uint8_t*); }; #endif //_LIQUID_PERSSURE_H_