Projet s5 - sensors lib
Dependencies: XBeeLib mbed-rtos mbed
ProcessControl.h
00001 #ifndef PROCESSCONTROL_H 00002 #define PROCESSCONTROL_H 00003 #include "Sensors.h" 00004 #include "mbed.h" 00005 00006 00007 struct Config{ 00008 double temperatureMin; 00009 double temperatureMax; 00010 double phMin; 00011 double phMax; 00012 double ec; 00013 }; 00014 00015 int getConfig(Config *conf); 00016 void setConfig(Config conf); 00017 00018 void initSystem(); 00019 void drainSystem(); 00020 void watering(); 00021 void setTargets(); 00022 00023 double getTargetTemperature(); 00024 double getTargetPh(); 00025 void adjustePh(); 00026 double getTargetEc(); 00027 void adjustEC(); 00028 00029 #endif
Generated on Wed Jul 20 2022 22:26:41 by
1.7.2
