Real Time clock on V4

Inquiry and support for Freematics products
Post Reply
AbhIoT
Posts: 14
Joined: Thu Sep 29, 2016 12:31 am

Real Time clock on V4

Post by AbhIoT »

Hi ,
Is there real time clock(RTC) available on V4 board which I can use for time stamping OBD data ?
Currently it is showing time only in milliseconds not the absolute time.

thanks!
mikebolt
Posts: 19
Joined: Sat Sep 24, 2016 3:12 am

Re: Real Time clock on V4

Post by mikebolt »

You can use the Arduino Time library.

However, if you only need an absolute time that is relative to the device's starting time, you can just add up the values in the leftmost column, and reset the total when you get a timestamp preceded by a '#'. This is explained the file format documentation.
AbhIoT
Posts: 14
Joined: Thu Sep 29, 2016 12:31 am

Re: Real Time clock on V4

Post by AbhIoT »

Thanks Mikebolt.
Time Library is useful my application.
Post Reply