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.h
- Revision:
- 6:939df52d75c9
- Parent:
- 5:18e89e309715
- Child:
- 7:ebaaff27840b
--- a/event.h Thu Oct 12 13:18:11 2017 +0000 +++ b/event.h Thu Oct 12 13:26:59 2017 +0000 @@ -13,6 +13,19 @@ #define EVENT_H_ // Your code here! +void print_stinrg(char); +void print_thread(void const); + +void print_stinrg(char c = '*') +{ + pc.putc(c); +} + +void print_thread(void const *argv) +{ + pc.printf((const char*)argv); +} + #endif // EVENT_H_