peter002
Member level 3
- Joined
- Mar 18, 2013
- Messages
- 56
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- Hindusthaan
- Activity points
- 1,765
Hello seniors.. I have succesfully configure my ds12c887 rtc to be read and to display everything on the jhd162a 16*2 lcd using 16f877a...
Problem.. When i m tryng to update the date and time its getting hard to do that..
Last time i tried to turn on the swuarewave pulse for 2hz but it ws not working...but then i repeated the call for that sub for once again and it worked..
I want to know that after setting the set bit in registerb do i need to wait for sm time to send the data to the rtc to be changed????
Or do i need to monitor the uip bit in the register a for a particular behaviour after which i can send the data to the rtc???
What shud be the procedure to change data in the rtc???
Thanx in advance...
- - - Updated - - -
Moreover there is one more problem, I have set the rtc to work on 24hrs mode, and now what happened is that after 24:59:59 it should have come to 01.00.01 but it got incremented to 25.00.01, and right now its on the 26 at hour place,.. What going inside my RTC?? Any suggestion plz????
Thanks in advance
Problem.. When i m tryng to update the date and time its getting hard to do that..
Last time i tried to turn on the swuarewave pulse for 2hz but it ws not working...but then i repeated the call for that sub for once again and it worked..
I want to know that after setting the set bit in registerb do i need to wait for sm time to send the data to the rtc to be changed????
Or do i need to monitor the uip bit in the register a for a particular behaviour after which i can send the data to the rtc???
What shud be the procedure to change data in the rtc???
Thanx in advance...
- - - Updated - - -
Moreover there is one more problem, I have set the rtc to work on 24hrs mode, and now what happened is that after 24:59:59 it should have come to 01.00.01 but it got incremented to 25.00.01, and right now its on the 26 at hour place,.. What going inside my RTC?? Any suggestion plz????
Thanks in advance
Last edited by a moderator: