reeeeeeeeeeeeeee
Dependencies: MotionSensor mbed
Fork of Assignment2_ver3 by
main.cpp
- Committer:
- weebgrammers
- Date:
- 2016-11-29
- Revision:
- 7:6dc42e1a2a81
- Parent:
- 4:f0a11480f39f
- Child:
- 9:751e39d24c39
File content as of revision 7:6dc42e1a2a81:
#include "mbed.h" #include "PaceHeart.h" #include "Hardware.h" //DigitalOut output_pin_A(LED1); PaceHeart* Pacer = new PaceHeart; DigitalOut led(LED1); Serial pc(USBTX, USBRX); void setup() { pc.baud(57600); } int main() { setup(); while(1){ Output_V(1.0,0.4); //Check_serial(pc,*Pacer); } //Pacer-> pace_A(); }