-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Koepel edited this page Jan 17, 2021
·
26 revisions
The Arduino Wire library is used for I2C communication. It is often used in the wrong way. This wiki will explain how to use it.
- Common mistakes
- Explanation of the functions of the Wire library
- Check for bus errors ?
- Buffer size of the Wire library
- Tricks that are (almost) allowed
How to make a reliable I2C bus.
Nick Gammon wrote an excellent tutorial about I2C and the Arduino Wire library: www.gammon.com.au/i2c
Master/Slave or Controller/Peripheral ?
The I2C bus was created by Philips and that part of the company became NXP. I will follow NXP for the naming. As far as I know they use Master/Slave. It is just a name for something technical. Anything is okay as long as everyone understands it.