Pacemaker code Implementation for SFWRENG 3K04

Dependencies:   mbed Queue mbed-rtos FXOS8700Q

Fork of Pacemaker by Eric dollar

SWFRENG 3K04 Project to design, develop, and document a functional pacemaker.

The project uses the Freescale K64F Microcontroller and C++ mbed library.

Committer:
trane3
Date:
Tue Nov 15 00:52:39 2016 +0000
Revision:
8:75c1dd8b0d61
Parent:
7:4eb590c7e064
Child:
10:35b259e70c9a
added voor functionality including preliminary pacing

Who changed what in which revision?

UserRevisionLine numberNew contents of line
trane3 7:4eb590c7e064 1 #pragma once
trane3 7:4eb590c7e064 2 #include "mbed.h"
trane3 7:4eb590c7e064 3 #include "voor.h"
trane3 8:75c1dd8b0d61 4 #include "pulse.h"
trane3 7:4eb590c7e064 5
trane3 8:75c1dd8b0d61 6 voor::voor(){}
trane3 8:75c1dd8b0d61 7
trane3 8:75c1dd8b0d61 8 voor::voor(pulse* p){
trane3 8:75c1dd8b0d61 9 voorPulse = p;
trane3 7:4eb590c7e064 10 }
trane3 7:4eb590c7e064 11
trane3 8:75c1dd8b0d61 12 voor::~voor(){};
trane3 8:75c1dd8b0d61 13
trane3 8:75c1dd8b0d61 14 void voor::startPace(){
trane3 8:75c1dd8b0d61 15 voorPulse->startPulse();
trane3 8:75c1dd8b0d61 16 }
trane3 8:75c1dd8b0d61 17
trane3 8:75c1dd8b0d61 18 void voor::setPacingMode(int i){
trane3 8:75c1dd8b0d61 19 y_pacingMode = i;
trane3 8:75c1dd8b0d61 20 }