Water control / Mbed 2 deprecated Water_pump

Dependencies:   DRV88255 mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "general_control.h"
00002 #include "temp.h"
00003 #include "salinity.h"
00004 //#include "calibration.h"
00005 //extern bool rfl_flag;
00006 //extern Serial pc;
00007 
00008 int main() {
00009     bool sal_state, temp_state; 
00010     initialization();
00011     
00012     while(1){
00013         //calibrate('a', "left");
00014         sal_state = salinity_control();
00015         //temp_state = temp_control();
00016         //normality_test(sal_state, temp_state);
00017         wait(1);
00018    }
00019 }