NUCLEO-F042K6 Simple demo writing Timer time to UART periodically using Ticker
Dependencies: mbed
Diff: main.cpp
- Revision:
- 4:fd43e0e4fe7d
- Parent:
- 3:906776a3481e
--- a/main.cpp Sat Feb 10 15:59:44 2018 +0000 +++ b/main.cpp Sat Feb 10 16:00:26 2018 +0000 @@ -20,6 +20,7 @@ tim->reset(); time = tim->read_us(); } + return time; }