View previous topic :: View next topic |
Author |
Message |
r0n4ld0l1n5
Joined: 11 Jul 2013 Posts: 3
|
How can I use driver rtcticks.c |
Posted: Fri Jul 19, 2013 5:34 am |
|
|
Hello, my friends...
I am need help about driver rtcticks.c, please if somebody already used this driver help-me. I've tried and did not work the clock is moving forward.
thanks, |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9226 Location: Greensville,Ontario
|
|
Posted: Fri Jul 19, 2013 6:01 am |
|
|
What version of the compiler do you have, as I don't have rtcticks.c in my drivers folder? |
|
|
r0n4ld0l1n5
Joined: 11 Jul 2013 Posts: 3
|
|
Posted: Fri Jul 19, 2013 6:08 am |
|
|
The version of my CCS is 4.140. |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Fri Jul 19, 2013 6:29 am |
|
|
Yep, rtcticks.c is there, dated August 2012. _________________ Google and Forum Search are some of your best tools!!!! |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19513
|
|
Posted: Fri Jul 19, 2013 7:52 am |
|
|
You have looked at the example that uses it?.
ex_time.c
Uses this if your chip does not have an internal or external rtc peripheral.
Best Wishes |
|
|
r0n4ld0l1n5
Joined: 11 Jul 2013 Posts: 3
|
|
Posted: Tue Jul 23, 2013 5:05 am |
|
|
Yes, I looked... I think this problem is normal, because in all example happened the same thing... |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
Re: How can I use driver rtcticks.c |
Posted: Tue Jul 23, 2013 2:13 pm |
|
|
r0n4ld0l1n5 wrote: | I've tried and did not work the clock is moving forward. | I'm sorry, but I don't understand what the problem is. Isn't a clock supposed to count forward?
Did you try the example program ex_time.c and did that solve your problem? |
|
|
|