start

Dependencies:   DRV88255 mbed

Committer:
BillyGrande
Date:
Tue Jun 27 21:13:09 2017 +0000
Revision:
2:5dd057d67746
Parent:
1:924bead61d21
start

Who changed what in which revision?

UserRevisionLine numberNew contents of line
BillyGrande 1:924bead61d21 1 #ifndef TEMP
BillyGrande 1:924bead61d21 2 #define TEMP
BillyGrande 1:924bead61d21 3 #include "mbed.h"
BillyGrande 1:924bead61d21 4
BillyGrande 1:924bead61d21 5 bool temp_control();
BillyGrande 1:924bead61d21 6 float take_air_temp();
BillyGrande 1:924bead61d21 7
BillyGrande 1:924bead61d21 8 //Temperature constants
BillyGrande 1:924bead61d21 9 #define K0 0.00102119
BillyGrande 1:924bead61d21 10 #define K1 0.000222468
BillyGrande 1:924bead61d21 11 #define K2 1.33342e-7
BillyGrande 1:924bead61d21 12 #define R1 15000
BillyGrande 1:924bead61d21 13 #define TSLL 36 //Temperature safe lower limit
BillyGrande 1:924bead61d21 14 #define TSUL 37 //Temperature safe upper limit
BillyGrande 1:924bead61d21 15 #define TALL 35 //Temperature absolut lower limit
BillyGrande 1:924bead61d21 16 #define TAUL 38 //Temperature absolut upper limit
BillyGrande 1:924bead61d21 17 #define TMLL -10 //Temperature malfunction lower limit
BillyGrande 1:924bead61d21 18 #define TMUL 50 //Temperature malfunction upper limit
BillyGrande 1:924bead61d21 19 #define LC -40 //Lost connection
BillyGrande 1:924bead61d21 20 #define ATB 1 //Air temp buffer
BillyGrande 1:924bead61d21 21
BillyGrande 1:924bead61d21 22
BillyGrande 1:924bead61d21 23 #endif