Go to advanced search

by Jack75
Mon Feb 09, 2015 9:53 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: How to read i2c eeprom Atmel AT24C128B with RPi
Replies: 5
Views: 10390

Re: How to read i2c eeprom Atmel AT24C128B with RPi

You need to put some delay between the writes. At least 4ms. Here is the additional code to use a simple 4ms timer. Declaration as below. int main(int argc, char **argv){ int i,j; /* filedescriptor and name of device */ int d; char *dn=DEFAULT_I2C_BUS; /* filedescriptor and name of data file */ int ...

Go to advanced search