Vincent Cheung
/
HelloWorld
h
Fork of HelloWorld by
Diff: Hardware.h
- Revision:
- 5:afabac4fce1b
- Parent:
- 3:641eefd1110b
diff -r f0a11480f39f -r afabac4fce1b Hardware.h --- a/Hardware.h Mon Nov 14 19:59:54 2016 +0000 +++ b/Hardware.h Wed Nov 16 21:44:03 2016 +0000 @@ -1,12 +1,13 @@ #include <string> using namespace std; #include "mbed.h" - +#include "PaceHeart.h" #ifndef HARDWARE_H #define HARDWARE_H -int get_(); - extern DigitalOut output_pin_A; extern DigitalOut output_pin_V; +void send_data(Serial &pc,PaceHeart &Pacer); +void request_data(Serial &pc,PaceHeart &Pacer); +void Check_serial(Serial &pc,PaceHeart &Pacer); #endif \ No newline at end of file