Vincent Cheung
/
HelloWorld
h
Fork of HelloWorld by
Hardware.h@5:afabac4fce1b, 2016-11-16 (annotated)
- Committer:
- oopakhooo
- Date:
- Wed Nov 16 21:44:03 2016 +0000
- Revision:
- 5:afabac4fce1b
- Parent:
- 3:641eefd1110b
serial params to interface
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Judorunner | 2:e2ae43e8acab | 1 | #include <string> |
Judorunner | 2:e2ae43e8acab | 2 | using namespace std; |
oopakhooo | 3:641eefd1110b | 3 | #include "mbed.h" |
oopakhooo | 5:afabac4fce1b | 4 | #include "PaceHeart.h" |
oopakhooo | 3:641eefd1110b | 5 | #ifndef HARDWARE_H |
oopakhooo | 3:641eefd1110b | 6 | #define HARDWARE_H |
Judorunner | 2:e2ae43e8acab | 7 | |
oopakhooo | 3:641eefd1110b | 8 | extern DigitalOut output_pin_A; |
oopakhooo | 3:641eefd1110b | 9 | extern DigitalOut output_pin_V; |
oopakhooo | 5:afabac4fce1b | 10 | void send_data(Serial &pc,PaceHeart &Pacer); |
oopakhooo | 5:afabac4fce1b | 11 | void request_data(Serial &pc,PaceHeart &Pacer); |
oopakhooo | 5:afabac4fce1b | 12 | void Check_serial(Serial &pc,PaceHeart &Pacer); |
Judorunner | 2:e2ae43e8acab | 13 | #endif |