Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: lib_Transmission SEN0169 DS1820
main.h
00001 #ifndef MAIN_H 00002 #define MAIN_H 00003 #define MBED_PROJECT "2022_TICE_Electrolyse" 00004 #define com Transmission::enum_trans_delivery::SERIAL_DELIVERY 00005 00006 #include "mbed.h" 00007 00008 #include "lib_Transmission.h" 00009 #include "lib_SEN0169.h" 00010 #include "DS1820.h" 00011 00012 UnbufferedSerial pc(USBTX, USBRX, 230400); 00013 00014 SEN0169 PH_anode(A0); 00015 DS1820 T_anode(A1); 00016 SEN0169 PH_cathode(A2); 00017 DS1820 T_cathode(A3); 00018 00019 string processing(string); 00020 Transmission transmission(&pc, &processing); 00021 00022 // Prototypes __________________________________________________________________ 00023 00024 void initialisations(void); 00025 string processing(string); 00026 00027 // Variables ___________________________________________________________________ 00028 00029 float temperature_anode = 0.0f, temperature_cathode = 0.0f; 00030 float ph_anode = 0.0f, ph_cathode = 0.0f; 00031 #endif
Generated on Sat Jul 16 2022 05:23:33 by
1.7.2