Expand Your Arduino's Storage with an External EEPROM (AT24C256): A Tutorial in How to Use the I2C Protocol

In a previous post, we covered how to expand your number of analog inputs by using an external ADC over the SPI bus. Today I want to demonstrate how to use the I2C protocol while simultaneously teaching you how to read a datasheet. After all, there will come a day when you want to use a new device and a library won't already exist for it.

This is a companion discussion topic for the original entry at https://engineerworkshop.com/blog/expand-your-arduinos-storage-with-an-external-eeprom-at24c256-a-tutorial-in-how-to-use-the-i2c-protocol/