Water control
/
Water_pump
start
temp.h
- Committer:
- BillyGrande
- Date:
- 2017-06-27
- Revision:
- 1:924bead61d21
File content as of revision 1:924bead61d21:
#ifndef TEMP #define TEMP #include "mbed.h" bool temp_control(); float take_air_temp(); //Temperature constants #define K0 0.00102119 #define K1 0.000222468 #define K2 1.33342e-7 #define R1 15000 #define TSLL 36 //Temperature safe lower limit #define TSUL 37 //Temperature safe upper limit #define TALL 35 //Temperature absolut lower limit #define TAUL 38 //Temperature absolut upper limit #define TMLL -10 //Temperature malfunction lower limit #define TMUL 50 //Temperature malfunction upper limit #define LC -40 //Lost connection #define ATB 1 //Air temp buffer #endif