Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MPU9250_SPI
Fork of WearableDevice_Nucleo by
Diff: event.cpp
- Revision:
- 7:ebaaff27840b
- Parent:
- 6:939df52d75c9
- Child:
- 8:ba93a973f967
--- a/event.cpp Thu Oct 12 13:26:59 2017 +0000 +++ b/event.cpp Thu Oct 12 14:32:34 2017 +0000 @@ -7,5 +7,19 @@ * Date: 12-Oct-2017 * Version: V0.1 */ +#include "mbed.h" -//----------------------------------------------------------------- +extern Serial pc; + + +void print_stinrg(char c = '*') { + pc.putc(c); +} + +void print_event(void const *argv) { + pc.printf((const char*)argv); +} + +void blink_event(DigitalOut pin){ + pin = 1; +} \ No newline at end of file