NUCLEO-F042K6 Simple demo writing Timer time to UART periodically using Ticker
Dependencies: mbed
Revision 4:fd43e0e4fe7d, committed 2018-02-10
- Comitter:
- vodsejak
- Date:
- Sat Feb 10 16:00:26 2018 +0000
- Parent:
- 3:906776a3481e
- Commit message:
- v2.3;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 906776a3481e -r fd43e0e4fe7d main.cpp --- 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; }