Still keeping time?
Archiver
Posts: 46,084
I was able to get the lcd to display what i inputed via the debug
screen. I had to change this line:
'I2COUT I2Cpin,Wr8583,2,[noparse][[/noparse]STR regSecs\5]
to these lines:
I2COUT I2Cpin,Wr8583,2,[noparse][[/noparse]STR regSecs]
I2COUT I2Cpin,Wr8583,3,[noparse][[/noparse]STR regMins]
I2COUT I2Cpin,Wr8583,4,[noparse][[/noparse]STR regHrs]
I2COUT I2Cpin,Wr8583,5,[noparse][[/noparse]STR regMoDay]
I2COUT I2Cpin,Wr8583,6,[noparse][[/noparse]STR regYrDate]
And i did the similar thing with this line:
'I2CIN I2Cpin,Rd8583,0,[noparse][[/noparse]STR regCtrl\7]
But now the time does not increment, the time is always whatever i
inputed.
Thanks for your help
screen. I had to change this line:
'I2COUT I2Cpin,Wr8583,2,[noparse][[/noparse]STR regSecs\5]
to these lines:
I2COUT I2Cpin,Wr8583,2,[noparse][[/noparse]STR regSecs]
I2COUT I2Cpin,Wr8583,3,[noparse][[/noparse]STR regMins]
I2COUT I2Cpin,Wr8583,4,[noparse][[/noparse]STR regHrs]
I2COUT I2Cpin,Wr8583,5,[noparse][[/noparse]STR regMoDay]
I2COUT I2Cpin,Wr8583,6,[noparse][[/noparse]STR regYrDate]
And i did the similar thing with this line:
'I2CIN I2Cpin,Rd8583,0,[noparse][[/noparse]STR regCtrl\7]
But now the time does not increment, the time is always whatever i
inputed.
Thanks for your help
Comments
at the variable specified. If your clock is not incrementing, you may have a
crystal connection problem.
-- Jon Williams
-- Parallax
In a message dated 11/26/02 3:41:35 AM Central Standard Time,
engrmaps@y... writes:
> I was able to get the lcd to display what i inputed via the debug
> screen. I had to change this line:
> 'I2COUT I2Cpin,Wr8583,2,[noparse][[/noparse]STR regSecs\5]
>
> to these lines:
> I2COUT I2Cpin,Wr8583,2,[noparse][[/noparse]STR regSecs]
> I2COUT I2Cpin,Wr8583,3,[noparse][[/noparse]STR regMins]
> I2COUT I2Cpin,Wr8583,4,[noparse][[/noparse]STR regHrs]
> I2COUT I2Cpin,Wr8583,5,[noparse][[/noparse]STR regMoDay]
> I2COUT I2Cpin,Wr8583,6,[noparse][[/noparse]STR regYrDate]
>
> And i did the similar thing with this line:
> 'I2CIN I2Cpin,Rd8583,0,[noparse][[/noparse]STR regCtrl\7]
>
> But now the time does not increment, the time is always whatever i
> inputed.
>
> Thanks for your help
>
[noparse][[/noparse]Non-text portions of this message have been removed]