Kabuki Starship / Mbed 2 deprecated GHVentilator

Dependencies:   mbed SickBayTek

Revision:
8:fa5cc1397510
Parent:
6:b2672da545f1
Child:
9:256989faeb3b
--- a/GHVentilatorChannel.h	Thu Apr 09 02:31:18 2020 +0000
+++ b/GHVentilatorChannel.h	Thu Apr 09 03:18:31 2020 +0000
@@ -27,7 +27,7 @@
   volatile int Ticks;          //< Ticks since the beginning of the inhale.
   int    TicksExhale,          //< The period of the breathing.
          TicksInhale,          //< The tick count in the inhale duty cycle.
-         TicksPeep;            //< The max ticks between an exhale and inhale.
+         TicksPEEP;            //< The max ticks between an exhale and inhale.
   volatile int TicksFlowLast,  //< The previous inhale TicksFlow count.
          TicksFlow;            //< Flow sensor pulse TicksFlow count.
   BMP280 Atmosphere;           //< The air Atmosphere going to the patient.
@@ -53,6 +53,9 @@
   /* Returns a pointer to this. */
   GHVentilatorChannel* This();
   
+  /* Sets the TicksPEEP. */
+  void TicksPEEPSet (int NewTicksPEEP, int TicksSecond);
+  
   /* Turns off this channel. */
   void TurnOff ();