This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I2C read/write routines

Hi,

I am looking for simple read and write routines for I2C interface between Atmel low-end 89C2051 microcontroller and 24C04 serial EEPROM.

Any help would be great .

Thanks in Advance.
Rocknmoon

Parents
  • "Basically i am looking for C code."

    You should not be afraid to use a little assembler where that is the most appropriate solution!

    Probably the two least appropriate areas for 'C' are timing-critical details, and extensive manipulation of individual bits for low-level hardware IO.

    This sounds like an ideal application for assembler!

Reply
  • "Basically i am looking for C code."

    You should not be afraid to use a little assembler where that is the most appropriate solution!

    Probably the two least appropriate areas for 'C' are timing-critical details, and extensive manipulation of individual bits for low-level hardware IO.

    This sounds like an ideal application for assembler!

Children
No data