Changing I2C address- software - Raspberry Pi Forums


hello, working 4 vex integrated motor encoders hooked i2c port. because multiple of same sensor, appear having same address when check ports in terminal using

code: select all

sudo i2cdetect -y 1
addresses appear

code: select all

    0  1  2  3  4  5  6  7  8  9   b  c  d  e  f 00:          -- -- -- -- -- -- -- -- -- -- -- -- --  10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  30: 30 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  70: -- -- -- -- -- -- -- --    
there nothing physical can minipulate on sensors change address, , vex cortex changes address sort of software command. how able on pi?

connect them 1 @ time , change addresses different.


raspberrypi



Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code