Hi Guys
What else can I do to get the RTCC working.
The second counter keep giving me the same value "0x52 0x42"
18F25J50 RTCC not running
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: 18F25J50 RTCC not running
Hello,
I think you may have to switch on the timer. You can do this using this C code.
I think you may have to switch on the timer. You can do this using this C code.
Code: Select all
t1con = 0x01;
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 130
- Joined: Sat Feb 26, 2011 4:26 am
- Location: South Africa
- Has thanked: 25 times
- Been thanked: 11 times
- Contact:
Re: 18F25J50 RTCC not running
Hi Benj
Thanks.. That did the trick
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.
Thanks.. That did the trick
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.