Can I change the pins on the communication for a Master-Slave arduino Wire transmission? I want to communicate between 2 arduinos, but on one of them A4&A5 are taken
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
You cannot. Wire uses hardware I2C, and on the Uno only A4 and A5 are connected to the TWI peripheral on the MCU. You will need to either switch to a bit-bang I2C implementation or change the protocol you're using.
To complete Ignacio's answer, there's indeed no other hardware I2C on AVR Arduinos.
The only options you have to use other pins is: