I2C EEPROM HELP.

Hi,

I just gone through some of the basic coding and project of Arduino and got interested to do more.

Thanks to this forum member for all guidance and support for beginners like me.

I have a question that using I2C-EEPROM module can i save 3 different variable and use them back as last set value of variables.

Ex: I set time-On of fan (First variable).
Set time-Off of fan (Second variable).
Set speed of fan (Third variable).

Waiting for reply…thanks in advance.

First of all, why do you need external EEPROM for only 3 values, which also fit into the internal EEPROM?

As a start, learn how to program I2C connections, then study the EEPROM data sheet for the commands, required to set the read/write address and to transfer data.

Thanks DrDiettrich for reply.

It means it can be done by using internal eeprom.

And we can save and use the saved data to run again after arduino reset.

Not sure if that was a question but if it was then the answer is yes.