source code for rtc using i2c protocol

Discussion in 'Embedded Systems and Microcontrollers' started by santu, Mar 14, 2011.

  1. santu

    Thread Starter New Member

    Dec 23, 2010
    15
    0
    i am using at89c51ic2 chip from atmel having builtin i2c. i want code in assembly for interfacing rtc through i2c protocol.so please send code for this purpose for which i shall remain grateful to you.
     
  2. kingdano

    Member

    Apr 14, 2010
    377
    19
    no one is going to do your work for you


    save yourself the keystrokes, and save the electrons - stop asking.
     
  3. GetDeviceInfo

    Senior Member

    Jun 7, 2009
    1,571
    230
    atmel has several examples of code for implementing thier I2C. Do a quick google and you'll find lots of code snippets.
     
Loading...