Complete the code to include the EEPROM library.
#include <[1]>
The EEPROM library is included with #include <EEPROM.h> to use EEPROM functions.
Complete the code to write the value 42 to EEPROM address 0.
EEPROM.[1](0, 42);
Use EEPROM.write(address, value) to store a byte value at a specific address.
Fix the error in reading a byte from EEPROM address 1.
byte value = EEPROM.[1](1);
Use EEPROM.read(address) to read a byte from EEPROM.
Fill both blanks to write a value only if it differs from the current EEPROM value.
if (EEPROM.[1](5) != newValue) { EEPROM.[2](5, newValue); }
First read the current value with read, then write the new value with write if different.
Fill all three blanks to store and retrieve an integer value using EEPROM.put and EEPROM.get.
int storedValue = 0; EEPROM.[1](10, newValue); EEPROM.[2](10, [3]);
Use EEPROM.put(address, value) to store complex data types like int, and EEPROM.get(address, variable) to retrieve it.