16 #include <LiquidCrystal.h>
19 #include "../includes/parameters.h"
24 extern LiquidCrystal
screen;
62 uint16_t plateauPressureMax,
103 void displayFlowMeterFail(int32_t p_flowMeterFlowAtStarting, int32_t p_flowMeterFlowWithBlowerOn);
void displayAlarmInformation(uint8_t p_alarmCodes[], uint8_t p_nbTriggeredAlarms)
Display triggered alarm codes.
void displayBatteryDeepDischarge()
Display error when battery level is too discharged.
void displayMachineStopped()
Display a message when the machine is stopped.
void displayWatchdogError()
Display error when machine was restarted by watchdog.
uint16_t convertAndRound(uint16_t pressure)
Convert and round a pressure value.
void displayPressureOffsetUnstable(uint32_t p_minOffsetValue, uint32_t p_maxOffsetValue)
Display error when pressure offset is unstable.
void displayCurrentSettings(uint16_t peakPressureMax, uint16_t plateauPressureMax, uint16_t peepMin)
Display the current settings.
void displayFlowMeterOffset(int32_t p_flowMeterFlowOffset)
Display flow meter offset.
void clearAlarmDisplayCache()
Force clear the alarm display cache.
void displayEndOfLineTestMode()
Show that EOL mode was triggered.
void displayPressureOffset(int32_t p_inspiratoryPressureSensorOffset)
Display pressure offset.
void displayPatientMustBeUnplugged()
Display the "calibration in progress" message.
void displayCurrentPressure(uint16_t pressure, uint16_t cyclesPerMinute)
Display the current step of the breathing.
LiquidCrystal screen
Instance of the screen controller.
void displayCurrentVolume(int32_t volumeMassFlow, uint16_t cyclesPerMinute)
Display the current injected air volume.
void resetScreen()
Erase everything that is on the screen.
void startScreen()
Start the screen.
void displayFlowMeterFail(int32_t p_flowMeterFlowAtStarting, int32_t p_flowMeterFlowWithBlowerOn)
Display error when flow meter fails.
void displayCurrentInformation(uint16_t peakPressure, uint16_t plateauPressure, uint16_t peep)
Display relevant values from the ongoing cycle.