I2C previous program, now can't execute

10 Nov 2009 . Edited: 10 Nov 2009

Hello,

       In early September, I wrote a I2C program, slave address is 8 bits(0xC4), It executed very good. But today I compile it again and download to mbed. It can't execute.

      Please tell me, what's wrong with it ?  Library update or hardware connect wrong ?

 

Thanks

zhenjiang

10 Nov 2009

Hi Zhenjiang,

lv zhenjiang wrote:
In early September, I wrote a I2C program, slave address is 8 bits(0xC4), It executed very good. But today I compile it again and download to mbed. It can't execute.       Please tell me, what's wrong with it ?  Library update or hardware connect wrong ?

If you are compiling the same program, nothing will have changed. Therefore, I suspect it is a hardware problem.

The IDE does check if your libraries are up-to-date and displays a "There is a newer version of the library, click to update" message, but it won't actually do anything. Only when you click this button will it check out a new version of the libraries for that project.

Simon

11 Nov 2009

Hi Zhenjiang,

check the Sdat and SCl - connections ... no swapping of lines?

 

Regards MSH1