I see code that allows me to define the calibration values and then set them like this
Code:
#define calibration_point_4 2153 //Write here your measured value in mV of pH 4
#define calibration_point_7 1972 //Write here your measured value in mV of pH 7
#define calibration_point_10 1816 //Write here your measured value in mV of pH 10
#define point_1_cond 40000 // Write here your EC calibration value of the solution 1 in µS/cm
#define point_1_cal 40 // Write here your EC value measured in resistance with solution 1
#define point_2_cond 10500 // Write here your EC calibration value of the solution 2 in µS/cm
#define point_2_cal 120 // Write here your EC value measured in resistance with solution 2
and then in the setup function
OpenGarden.calibratepH(calibration_point_4, calibration_point_7, calibration_point_10);
OpenGarden.calibrateEC(point_1_cond, point_1_cal, point_2_cond, point_2_cal);
What I'm looking for is code that allows you to gather the calibration information interactively so you can do an easy calibration of the system. Does something like that exist anywhere? Also is there a code repository that users can upload code that they have written so others can use it?
Thank you,
Lee