internal eeprom

Hi,

I m newbie in Arduino, I used to use eeprom int number in CodeVision AVR, to store a non volatile number, so, whenever the system is On, the chip will use the number maybe as a callibration number,

I would like to do the same with Aduino Uno, and have searched with google, but still not find a relevant explanation of using the eeprom.

Please someone give me a clue, thanks

Kurnia Brahmana

There are basically two groups of functions; eeprom.read and eeprom.write is the one, eeprom.get and eeprom.put is the other one. Check the reference section.

The first group works on bytes and your code has to take care of writing and reading e.g. want an int (two bytes); the second group can take any argument (int, float, struct).

kbcn: I would like to do the same with Aduino Uno, and have searched with google, but still not find a relevant explanation of using the eeprom.

Please someone give me a clue, thanks

Kurnia Brahmana

A Google search on;

Arduino EEPROM

Points to the reference here;

https://www.arduino.cc/en/Reference/EEPROM

This link discusses the basics of the internal EEPROM of ATmega328P MCU.