das
OUTS.h
- Committer:
- Paaranoja
- Date:
- 2017-01-21
- Revision:
- 0:ffef1cca62a8
File content as of revision 0:ffef1cca62a8:
#ifndef OUTS_H #define OUTS_H #include "mbed.h" class OUTS { public: OUTS(PinName grijac_pin, PinName atomizer_pin, PinName grijac_led_pin, PinName atomizer_led_pin); void outs_on(float senzor_temp, float senzor_hum, float pot_temp, float pot_hum); private: void chk_hum(float senzor_hum, float pot_hum); void chk_temp(float senzor_temp, float pot_temp); float senzor_temp, senzor_hum, pot_temp, pot_hum; DigitalOut atomizer; DigitalOut grijac; DigitalOut led_grijac; DigitalOut led_atomizer; }; #endif