Skip to content
Snippets Groups Projects
Commit 2eab5c14 authored by Your Name's avatar Your Name
Browse files

exhale valve mistakenly set as not proportional

parent 1ba8d0d8
Branches
No related merge requests found
......@@ -16,7 +16,7 @@ ValvesController::ValvesController()
_inhale.state = VALVE_STATE::CLOSED;
_exhale.pin = pin_valve_exhale;
_exhale.proportional = false;
_exhale.proportional = true;
_exhale.state = VALVE_STATE::CLOSED;
_purge.pin = pin_valve_purge;
......@@ -79,4 +79,4 @@ void ValvesController::getValves(bool &vin_air, bool &vin_o2, float &vinhale,
vinhale = _inhale.state;
vexhale = _exhale.state;
vpurge = _purge.state ;
}
\ No newline at end of file
}
......@@ -60,7 +60,6 @@ void setup()
pinMode(pin_pressure_air_regulated, INPUT);
pinMode(pin_pressure_buffer, INPUT);
pinMode(pin_pressure_inhale, INPUT);
pinMode(pin_valve_exhale, OUTPUT);
pinMode(pin_pressure_patient, INPUT);
pinMode(pin_temperature_buffer, INPUT);
#ifdef HEV_FULL_SYSTEM
......@@ -86,8 +85,8 @@ void loop()
breathing_loop.FSM_breathCycle();
ui_loop.reportFastReadings();
// ui_loop.reportReadbackValues();
// ui_loop.reportCycleReadings();
ui_loop.reportReadbackValues();
ui_loop.reportCycleReadings();
// per cycle sender
comms.sender();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment