We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Has somebody worked EEPROM using I2C protocol, i want to store Date/Time and ID of a person in that as he logs in the company, ID will be provided through Serial input, and Date/Time will be taken from RTC (which also uses I2C protocol Dallas 1307 RTC), my problem is i don't know how to go about it, can somebody provide me sample code which will store the data in EEPROM (AT24c64) using I2C protocol, i am using P89c668 microcontroller which is same as P89c51 microcontroller. Plz help me