- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using the CYBT-343026 module and I want to display the system(from start till now) current milliseconds after every 1 second on serial. I am able to set a timer that executes after every 1 second which callbacks function and print "test" message after every 1 second I have implemented this using wiced_timer.h library. But how to print milliseconds?
Thanks in advance.
Regards,
Neeraj
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Why don't you try initializing another millisecond timer and increment a timer variable on it's timeout?
This timer variable can be printed at the second timer's timeout. (Please note: The minimum timer resolution supported is 12.5 milliseconds).
wiced_rtos/wiced_rtc APIs are not exposed/supported on 20706.
Thanks,
-Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Why don't you try initializing another millisecond timer and increment a timer variable on it's timeout?
This timer variable can be printed at the second timer's timeout. (Please note: The minimum timer resolution supported is 12.5 milliseconds).
wiced_rtos/wiced_rtc APIs are not exposed/supported on 20706.
Thanks,
-Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks I will do this..
Regards,
Neeraj