How to write and read the EEPROM?

danielbcjr:
Jack, how do I get that? #include <avr/eeprom.h> //avr-libc: <avr/eeprom.h>: EEPROM handling

It's already there, just type it in. The code I posted above should compile and run fine. AVR-Libc is part of the Arduino toolchain.