fabricedesre / cc3200-rs

Getting Rust to run on a TI cc3200
Mozilla Public License 2.0
7 stars 2 forks source link

Added some time formatting/conversion routines. #56

Closed dhylands closed 7 years ago

dhylands commented 7 years ago

The output of the tail end of examples/rtc.rs looks like:

Setting RTC to 1483228798 2016-12-31 23:59:58
RTC = 0x5868467e 2016-12-31T23:59:58.000Z
RTC = 0x5868467f 2016-12-31T23:59:59.000Z
RTC = 0x58684680 2017-01-01T00:00:00.000Z
RTC = 0x58684681 2017-01-01T00:00:01.000Z
RTC = 0x58684682 2017-01-01T00:00:02.000Z
RTC = 0x58684683 2017-01-01T00:00:03.000Z
RTC = 0x58684684 2017-01-01T00:00:04.000Z
RTC = 0x58684685 2017-01-01T00:00:05.000Z
RTC = 0x58684686 2017-01-01T00:00:06.000Z
RTC = 0x58684687 2017-01-01T00:00:07.000Z