DASD

INPUTS.h

Committer:
Paaranoja
Date:
2017-01-21
Revision:
0:2abe3b8113cc

File content as of revision 0:2abe3b8113cc:

#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