I2C multiple devices

09 Nov 2010

Hello,

I would like to use a pcf8575 and an ADS7828 CAN 8 ch on th same I2C bus

Is it possible to use the 8575 library and to declare the CAN on the same bus ? they are not at the same adresse of course

or do i have to declare a master bus I2C and to do everything in the prog ?

 

thank you

09 Nov 2010

Hello Pion

Yes, you can use the device on the same bus, if the address is different :-)

Regards,
Lerche

09 Nov 2010

thank you

 

but have I to declare again the I2C bus as master or not ?

it's done with the 8575 library  but is it private for the library only or done for all sub routine I can use on the I2C bus ?

have I to declare it at the beginning before to declare the use of the 8575

thank you a lot