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.
calibration.h
00001 #ifndef CALIBRATION_H 00002 #define CALIBRATION_H 00003 00004 /** 00005 * Calibrate temperature. 00006 * 00007 * @param temperature Temperature (C) 00008 * @return B value. 00009 */ 00010 float calibrationTemperature(float temperature); 00011 00012 /** 00013 * Save temperature calibration result. 00014 * 00015 * @param bValue B value. 00016 */ 00017 void calibrationTemperatureSave(float bValue); 00018 00019 /** 00020 * Apply O2 calibration parameters. 00021 */ 00022 void calibrationO2(void); 00023 00024 /** 00025 * Calibrate PH. 00026 * 00027 * @param phBuffer PH value 00028 * @param[out] phTemp Temperature 00029 * @param[out] slope Slope 00030 * @param[out] eo Eo 00031 */ 00032 void calibrationPh(float phBuffer, float* phTemp, float* slope, float* eo, float* phVolts); 00033 00034 /** 00035 * Save PH calibration results and restart board. 00036 */ 00037 void calibrationPhSave(void); 00038 00039 /** 00040 * Calibrate pump. 00041 * 00042 * @param[out] a Calculated polynom coefficient 00043 * @param[out] b Calculated polynom coefficient 00044 * @param[out] c Calculated polynom coefficient 00045 */ 00046 void calibrationPump(float* a, float* b, float* c); 00047 00048 #endif
Generated on Tue Sep 27 2022 18:47:00 by
1.7.2