Page 1 of 1

18F25J50 RTCC not running

Posted: Mon Apr 01, 2013 1:09 pm
by Desdewit
Hi Guys

What else can I do to get the RTCC working.
The second counter keep giving me the same value "0x52 0x42" :cry: :cry: :cry:

Re: 18F25J50 RTCC not running

Posted: Tue Apr 02, 2013 10:09 am
by Benj
Hello,

I think you may have to switch on the timer. You can do this using this C code.

Code: Select all

t1con = 0x01;

Re: 18F25J50 RTCC not running

Posted: Tue Apr 02, 2013 6:53 pm
by Desdewit
Hi Benj

Thanks.. That did the trick :D
I'm so use to fc doing most of the setup these days that I over look the simple things.
I'm uploading the code as a basis to start from, for other asm users.