Index: firmware/App/Controllers/LoadCell.c =================================================================== diff -u -rf5d0c90297a0716e1fb5a5c946436cccd35050e5 -rbbf1e3736be03a4f041ace57e0f95e23caf472dd --- firmware/App/Controllers/LoadCell.c (.../LoadCell.c) (revision f5d0c90297a0716e1fb5a5c946436cccd35050e5) +++ firmware/App/Controllers/LoadCell.c (.../LoadCell.c) (revision bbf1e3736be03a4f041ace57e0f95e23caf472dd) @@ -30,8 +30,8 @@ #define LOAD_CELL_SAMPLES_TO_AVERAGE LOAD_CELL_REPORT_PERIOD ///< Averaging load cell data over the reporting interval. #define LOAD_CELL_AVERAGE_MULTIPLIER (1.0 / (F32)LOAD_CELL_SAMPLES_TO_AVERAGE) ///< Optimization - multiplying is faster than dividing. // TODO - gain and offset for load cells should be read from NV Data calibration record. -#define ADC2GRAM 0.01126 // Conversion factor from ADC counts to grams. Division for averaging is folded into this value. -#define LOAD_CELL_ZERO_OFFSET -237.16 // Zero offset (in grams). +#define ADC2GRAM (0.0894 * 1.1338) // Conversion factor from ADC counts to grams. Division for averaging is folded into this value. +#define LOAD_CELL_ZERO_OFFSET -1018.02 // Zero offset (in grams). TODO - right now, this is empty reservoir weight. // ********** private data **********