Author Topic: Does Real time clock in netcruzer library V203 work?  (Read 7456 times)

modtro2

  • Administrator
  • Hero Member
  • *****
  • Posts: 564
    • View Profile
Re: Does Real time clock in netcruzer library V203 work?
« Reply #15 on: May 08, 2014, 04:01:51 PM »
All these files should be included with the source code I sent you.

Bua

  • Sr. Member
  • ****
  • Posts: 34
    • View Profile
Re: Does Real time clock in netcruzer library V203 work?
« Reply #16 on: May 11, 2014, 11:41:57 PM »
There are differences between the library you provided earlier and the library in your current V2.03 beta.  Which one I should use?  If you do the diff between those code, you will see where I am talking about.

Cheers,

Bua

  • Sr. Member
  • ****
  • Posts: 34
    • View Profile
Re: Does Real time clock in netcruzer library V203 work?
« Reply #17 on: May 28, 2014, 03:55:10 AM »
Hi,

I have a string date format such as 01 Jan 2014, and I want to convert this string into integer numbers for RTC setting function such as day = 1, month = 1, and year = 14..  Any suggestion how to do it?

Thanks,
Bua

modtro2

  • Administrator
  • Hero Member
  • *****
  • Posts: 564
    • View Profile
Re: Does Real time clock in netcruzer library V203 work?
« Reply #18 on: May 30, 2014, 06:33:03 PM »
Hi, you can use the standard C string.h functions included with the XC16 compiler:
http://netcruzer.com/language-reference-xc16-standard-libraries.html#string_h