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.

hardware.h

Committer:
noahzwiep
Date:
2016-11-17
Revision:
16:08d5e5a3ee74
Parent:
2:fbba2687ddfe

File content as of revision 16:08d5e5a3ee74:

#pragma once
#include "mbed.h"

class hardware{
    public:
        hardware();
        ~hardware();
        Serial* getSerial();
        PwmOut* getChamber(char);
        double getSense();
    
    private:
        PwmOut atrium;
        PwmOut ventricle;
        Serial pc;
        AnalogIn sense;
};