Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/19/06 19:03
Read: times


 
#126768 - Bit 5 or 6 ?
Responding to: ???'s previous message
Ap Charles said:
I am working on the above mentioned but only last step finding difficult to set the AM PM bit of the RTC hour register. it is bit 6 of hour register.
http://www.8052.com/forum/read.phtml?id=126756

Ap Charles said:
PM = Hours Or &B00100000 //
:
I2cwbyte Pm // entering to bit 6 of reg 02
:
when I read bit 5 of hour register it returns 0 always which is AM .


So which bit is it - 5 or 6??

And what do you mean when you say, "bit 5" - how are you numbering your bits?



List of 10 messages in thread
TopicAuthorDate
RTC question 1307dallas            01/01/70 00:00      
   which tries?            01/01/70 00:00      
      here is explanation            01/01/70 00:00      
         who asked for an 'explanation'?            01/01/70 00:00      
         Bit 5 or 6 ?            01/01/70 00:00      
   here it is snippets            01/01/70 00:00      
      Address of Seconds REG -- correction            01/01/70 00:00      
      which assembler/compiler 'understand' this?            01/01/70 00:00      
   How to post code            01/01/70 00:00      
   Dallas DS1307 - where to start            01/01/70 00:00      

Back to Subject List