static constexpr unsigned long EVACUATION_LONG_MS = 600000;
static constexpr unsigned long EVACUATION_MS = 60000;
+// to get a reliable value for the pressure before connecting the cell
+static constexpr unsigned long FILL_PRESSURE_DELAY_MS = 30000;
+
static constexpr unsigned int THREEWAY_TURNS_TO_FILL = 1;
static constexpr float MEASUREMENT_UPPER_LIMIT = 8;
{
// absorption cycle
threeway_fill(gas_threeway_valve, THREEWAY_TURNS_TO_FILL);
+ delay(FILL_PRESSURE_DELAY_MS);
cell_valve.open_barely();
delay(CELL_BARELY_OPEN_EQUILIBRATION_MS);
cell_valve.open();