I have asked about sharing i2c pins on this forum before, unfortunately the response was not as helpful as I would have liked. I would like to know how I can share the A4 and A5 pins (i2c bus) with multiple devices.
The concept just seems weird. Sharing 2 pins used together with multiple devices, controlling individually with software.
Thanks.
Sharing Nunchucky with MCP23017 i2c
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Sharing Nunchucky with MCP23017 i2c
I2C is a non-arbitrated master-slave bus architecture. Each device on the bus must have a unique 7-bit address. On each transaction, the master (i.e., the arduino) sends out the address of the device it wants to talk to. Only that device will respond.
It's very Victorian. Devices will only speak when spoken to.
It's very Victorian. Devices will only speak when spoken to.
-
- Posts: 4
- Joined: Sat Oct 23, 2010 2:58 pm
Re: Sharing Nunchucky with MCP23017 i2c
I'm not sure, but this might be helpful... http://forum.pjrc.com/threads/8554-Teen ... Working%29 and http://www.wiimoteproject.com/general-d ... uino-help/
Please be positive and constructive with your questions and comments.