Programm to control a huge setup of sous vide cookers. See https://stratum0.org/wiki/S0us-vide for more information on this project.
Fork of rtos_basic by
extensionIF.h
00001 #include "mbed.h" 00002 #include "rtos.h" 00003 00004 #ifndef __extensionIF__ 00005 #define __extensionIF__ 00006 00007 #define EIF_maxPods 4 00008 #define EIF_maxExt 8 00009 00010 class EIF_pod { 00011 public: 00012 int16_t temp1; 00013 int16_t temp2; 00014 int16_t setpoint; 00015 int8_t heaterDC; 00016 bool present; 00017 bool powered; 00018 bool sensorfail; 00019 }; 00020 00021 class EIF_extension { 00022 public: 00023 bool present; 00024 EIF_pod pods[EIF_maxPods]; 00025 }; 00026 00027 class EIF { 00028 public: 00029 EIF(); 00030 EIF_extension extensions[EIF_maxExt]; 00031 Mutex mutex; 00032 }; 00033 00034 00035 #endif //__extensionIF__
Generated on Mon Jul 18 2022 22:14:51 by 1.7.2