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 #include "general_control.h"
BillyGrande 1:924bead61d21 2 #include "temp.h"
BillyGrande 1:924bead61d21 3 #include "salinity.h"
BillyGrande 1:924bead61d21 4 //#include "calibration.h"
BillyGrande 1:924bead61d21 5 //extern bool rfl_flag;
BillyGrande 1:924bead61d21 6 //extern Serial pc;
BillyGrande 1:924bead61d21 7
BillyGrande 0:aa60e0772af6 8 int main() {
BillyGrande 1:924bead61d21 9 bool sal_state, temp_state;
BillyGrande 1:924bead61d21 10 initialization();
BillyGrande 1:924bead61d21 11
BillyGrande 0:aa60e0772af6 12 while(1){
BillyGrande 1:924bead61d21 13 //calibrate('a', "left");
BillyGrande 1:924bead61d21 14 sal_state = salinity_control();
BillyGrande 1:924bead61d21 15 //temp_state = temp_control();
BillyGrande 1:924bead61d21 16 //normality_test(sal_state, temp_state);
BillyGrande 1:924bead61d21 17 wait(1);
BillyGrande 0:aa60e0772af6 18 }
BillyGrande 0:aa60e0772af6 19 }