DASD
Diff: INPUTS.h
- Revision:
- 0:2abe3b8113cc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/INPUTS.h Sat Jan 21 15:59:21 2017 +0000 @@ -0,0 +1,19 @@ +#ifndef INPUTS_H +#define INPUTS_H + +#include "mbed.h" + +class INPUTS{ + public: + + INPUTS(PinName pot_hum_pin, PinName pot_temp_pin); + float get_hum_req(); + float get_temp_req(); + + private: + AnalogIn pot_vlaga; + AnalogIn pot_temp; + float req_hum, req_temp; + + }; +#endif \ No newline at end of file