2009-02-11 02:24 AM
problem with I2C_EE_ByteWrite
2011-05-17 04:02 AM
HI.
I have a small problem, when I in a loop call I2C_EE_ByteWrite() form the i2c_ee.c file form the M24C08_EEPROM ST example it get stuck at while(!I2C_CheckEvent(I2C1, I2C_EVENT_MASTER_TRANSMITTER_MODE_SELECTED)); My codeCode:
for(i=0; i<32; i++) { I2C_EE_ByteWrite(pBuffer,address+i); } I think I need to check a flag or a event before I call I2C_EE_ByteWrite, but which one. Hope you can help me.:-D Soeren