Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - rlw

Pages: 1
1
Apologies in advance if this has been covered in another thread, but I can't seem to find a search facility for the forum.

I've downloaded and installed the TinyShield_RTC example code for the [url https://www.tiny-circuits.com/tiny-shield-rtc.html]Tiny Shield Realtime Clock module[/url].

When I try to use "Set Time" function with the RTC Library Tests, the date portion is mangled.

I put some print statements into the set_time() function so I could see how it handles my input.

I entered the following:

  20150912 13:56:45

And I get the response:

Entered date is: -12019840 13:56:45   <====== (This is the output of my Serial.print calls in set_time() )
The current time is 0/8/2047  13:56:45

It looks like it correctly parses the time, but the date is completely munged.

Could the problem be in the overloaded read_int() function?

RLW

2
General Discussion / No search facility in forum?
« on: September 12, 2015, 01:49:34 PM »
It could be right in front of my face, but I can't seem to find a search facility in the forum.

Am I missing something?

RLW

Pages: 1
SMF spam blocked by CleanTalk