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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/10/03 11:26
Read: times


 
#60295 - problems on reading at24c01

Hi everybody,

I use at89c4051 as bus master ,on i2c bus,for write
and read an at24c01.I have :
void i2c_start(void);
void i2c_stop(void);
void i2c_write(unsigned char input_data);
unsigned char i2c_read(void);
from Keil Software(i2c example-bit banged).
I think writing is o.k.,but when I want to read me-
-mory I get some little different from what it was
wrote.For example I realized a clock using timer 0
and I want to memorise the date:hours,minutes,se-
-conds,subseconds.All it's all right except seconds
and subseconds when I read the memory.Can anybody
tell me why?
Thank you,
Stefan


List of 7 messages in thread
TopicAuthorDate
problems on reading at24c01            01/01/70 00:00      
   RE: problems on reading at24c01            01/01/70 00:00      
      RE: problems on reading at24c01            01/01/70 00:00      
         RE: problems on reading at24c01            01/01/70 00:00      
            RE: problems on reading at24c01            01/01/70 00:00      
   RE: problems on reading at24c01            01/01/70 00:00      
   RE: problems on reading at24c01            01/01/70 00:00      

Back to Subject List