Repost with errors corrected for clock qstn
Archiver
Posts: 46,084
I have noticed that the original code makes the time for the clock
setting a decimal number by preceding the constants with a $ sign,
so i tried the following :-
SERIN 3\12, 16468, [noparse][[/noparse]dec hours]
SERIN 3\12, 16468, [noparse][[/noparse]dec minutes]
SERIN 3\12, 16468, [noparse][[/noparse]dec day]
'hours = $13
'minutes = $14
'day = $7
Month = $12
Date = $03
Year = $02
Seconds = $00
GOSUB SetTimeAndDate
I have noticed that the original code makes the time for the clock
setting a hex number suitable for the ds1302 by preceding the
constants with a $ sign,
so i tried the following :-
SERIN 3\12, 16468, [noparse][[/noparse]hex hours]
SERIN 3\12, 16468, [noparse][[/noparse]hex minutes]
SERIN 3\12, 16468, [noparse][[/noparse]hex day]
'hours = $13
'minutes = $14
'day = $7
Month = $12
Date = $03
Year = $02
Seconds = $00
GOSUB SetTimeAndDate
I also tried this at the serout end.
Nothing Works [noparse]:([/noparse]
Can anybody help me
Regards,
Dwain.
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the
Subject and Body of the message will be ignored.
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the
Subject and Body of the message will be ignored.
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
setting a decimal number by preceding the constants with a $ sign,
so i tried the following :-
SERIN 3\12, 16468, [noparse][[/noparse]dec hours]
SERIN 3\12, 16468, [noparse][[/noparse]dec minutes]
SERIN 3\12, 16468, [noparse][[/noparse]dec day]
'hours = $13
'minutes = $14
'day = $7
Month = $12
Date = $03
Year = $02
Seconds = $00
GOSUB SetTimeAndDate
I have noticed that the original code makes the time for the clock
setting a hex number suitable for the ds1302 by preceding the
constants with a $ sign,
so i tried the following :-
SERIN 3\12, 16468, [noparse][[/noparse]hex hours]
SERIN 3\12, 16468, [noparse][[/noparse]hex minutes]
SERIN 3\12, 16468, [noparse][[/noparse]hex day]
'hours = $13
'minutes = $14
'day = $7
Month = $12
Date = $03
Year = $02
Seconds = $00
GOSUB SetTimeAndDate
I also tried this at the serout end.
Nothing Works [noparse]:([/noparse]
Can anybody help me
Regards,
Dwain.
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the
Subject and Body of the message will be ignored.
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the
Subject and Body of the message will be ignored.
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/