DASD

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers INPUTS.h Source File

INPUTS.h

00001 #ifndef INPUTS_H
00002 #define INPUTS_H
00003  
00004 #include "mbed.h"
00005 
00006 class INPUTS{
00007     public:
00008     
00009     INPUTS(PinName pot_hum_pin, PinName pot_temp_pin);
00010     float get_hum_req();
00011     float get_temp_req();
00012     
00013     private:
00014     AnalogIn pot_vlaga;
00015     AnalogIn pot_temp;
00016     float req_hum, req_temp;
00017     
00018     };
00019 #endif