Arduino boards is based around the AVR microcontroller that has built in EEPROM memory which is not volatile after you switch off the power of the circuit.
This means that you don't need any external hardware or ICs when you need to store some small amount of data or system settings.
Circuit
When you test this code you only need Arduino UNO board as your circuit.
Code
#include
void setup()
{
for (int i = 0; i < 255; i++)
EEPROM.write(i, i);
}
void loop()
{
}
Source: Arduino Website
Check our books on Amazon:
No comments:
Post a Comment