![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Techcon 2014 BLE sample Police HRM (button-based) for Nordic
Dependencies: BLE_API BufferedSerial mbed nRF51822
Fork of BLE_Police_HRM by
Revision 1:e8d3536c7f99, committed 2014-09-26
- Comitter:
- ansond
- Date:
- Fri Sep 26 02:36:25 2014 +0000
- Parent:
- 0:45e5a1daf7c0
- Commit message:
- switched to buffered serial
Changed in this revision
BufferedSerial.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BufferedSerial.lib Fri Sep 26 02:36:25 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/sam_grove/code/BufferedSerial/#8287e83943f0
--- a/main.cpp Thu Sep 25 22:18:42 2014 +0000 +++ b/main.cpp Fri Sep 26 02:36:25 2014 +0000 @@ -47,7 +47,8 @@ // Console allocation #if ENABLE_CONSOLE - Serial pc(USBTX, USBRX); + #include "BufferedSerial.h" + BufferedSerial pc(USBTX, USBRX); #define LOG_CONSOLE(...) { pc.printf(__VA_ARGS__); } #else #define LOG_CONSOLE(...)