Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Main.cpp
- Revision:
- 3:d15b6579b5ae
- Parent:
- 2:1578ecfa9377
- Child:
- 4:de69851cf725
--- a/Main.cpp Tue Apr 07 13:10:45 2020 +0000 +++ b/Main.cpp Wed Apr 08 07:16:51 2020 +0000 @@ -11,7 +11,7 @@ #include <mbedBug.h> -#include "GHVentilatorChannel.h" +#include "GHVentilator.h" using namespace SickBay; int main () { @@ -19,15 +19,16 @@ // + ------------------------ Number of updates per second. // v GHVentilator GHV (250, I2CBus, address, - // +-------------------- Flow sensor interrupt pin. - // | +---------------- Pulse oximiter pin. - // | | +------------ Solenoid Vavle. - // | | | +-------- Status LED/Alarm. - // | | | | +--- PWM Servo - // v v v v v - GHVentilatorChannel (D0, A0, D4, D8, D12).This(), - GHVentilatorChannel (D1, A1, D5, D9, D13).This(), - GHVentilatorChannel (D2, A2, D6, D10, D14).This(), - GHVentilatorChannel (D3, A3, D7, D11, D15).This()) + // +------------------------- Updates per second. + // | +-------------------- Flow sensor interrupt pin. + // | | +---------------- Pulse oximiter pin. + // | | | +------------ Solenoid Vavle. + // | | | | +-------- Status LED/Alarm. + // | | | | | +--- PWM Servo + // v v v v v v + GHVentilatorChannel (200, D0, A0, D4, D8, D12).This(), + GHVentilatorChannel (200, D1, A1, D5, D9, D13).This(), + GHVentilatorChannel (200, D2, A2, D6, D10, D14).This(), + GHVentilatorChannel (200, D3, A3, D7, D11, D15).This()) ); }