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.
Dependencies: FXOS8700Q Queue mbed-rtos mbed
Fork of Pacemaker by
pulse.h
- Committer:
- FiveDollar
- Date:
- 2016-11-14
- Revision:
- 1:fbba2687ddfe
- Parent:
- 0:b2b3955cd77b
- Child:
- 8:75c1dd8b0d61
File content as of revision 1:fbba2687ddfe:
#pragma once
#include "mbed.h"
#include "hardware.h"
#include "chamberData.h"
class pulse{
public:
pulse();
pulse(chamberData*, hardware*);
~pulse();
void startPulse();
private:
double myPaceWidth; //mSec, width of ventricular pace
double myPaceAmp; //mV, amplitude of ventricular pace
double myRP; //mSec, duration of refractory period
float p_hysteresisInterval;
float p_lowrateInterval;
bool p_hysteresis;
Serial* pc;
PwmOut* aOut;
chamberData* myChamber;
hardware* myIOpins;
};
