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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/21/09 19:51
Read: times


 
#171836 - Read the data sheet.
Responding to: ???'s previous message
First off, why not organise your .C and .H files properly?

then you:

I2C_write(0x80); /* Set CH bit ie. 7th bit og 0x00 to start timer*/

 


specifically set the Clock_Halt bit and wonder why the RTC does not run.

David.

List of 5 messages in thread
TopicAuthorDate
89V51 and DS1307            01/01/70 00:00      
   Convention is no code in .H files            01/01/70 00:00      
      Timer not ticking            01/01/70 00:00      
         Read the data sheet.            01/01/70 00:00      
            Nice decomposition.            01/01/70 00:00      

Back to Subject List