We first began our journey into learning the I2C protocol three weeks ago. In that post, we learned to write to an external EEPROM over the I2C protocol using nothing more than a datasheet and the Arduino’s built-in Wire library. Before learning to read from that EEPROM, which we will do today, we needed to gain the prerequisite knowledge of how data is stored in memory and how pointers work. From there, we learned how the data stored in these variables is passed along through to functions and what an array really is.
This is a companion discussion topic for the original entry at https://engineerworkshop.com/2019/04/28/expand-your-arduinos-storage-with-an-external-eeprom-part-ii-reading-from-the-at24c256-a-tutorial-in-how-to-use-the-i2c-protocol-continued/