Pacemaker code Implementation for SFWRENG 3K04

Dependencies:   FXOS8700Q Queue mbed-rtos mbed

Fork of Pacemaker by Eric dollar

hardware.h

Committer:
noahzwiep
Date:
2016-11-17
Revision:
16:08d5e5a3ee74
Parent:
1: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;
};