Changing I2C address in code.


hey!
i'm using wire-library send , receive i2c messages in system multiple hosts , i'm wondering if there way change address in "runtime".

right i'm setting address wire.begin(), guess can more low-level approach. (setting registers maybe)
any info info. if there limitations delays , on know.

also, first post here, hello reading this!

quote
right i'm setting address wire.begin(), guess can more low-level approach.


i'm sure read source code figure out how library doing it, but, why? there reason not use wire.begin set address?

quote
also if there limitations delays , on know.


there may limitations imposed i2c device interfacing with. these, of course, depend on particular device, , should documented in data sheet device. things time takes device generate useful result come mind.

quote
also, first post here, hello reading this!


hello, yourself. :)


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Changing I2C address in code.


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums