'EEPROM' was not declared in this scope

Hi guys! I was uploading this piece of code (it's for a head tracker. I got it from an RC Groups post) when I got the Error message 'EEPROM' was not declared in this scope. Thanks for any help!

Discussion and area where I found the code.: http://www.rcgroups.com/forums/showthread.php?t=1677559

Please read and follow the instructions in the "How to use the forum" post. Post your code in line, using code tags.

The error message is self explanatory.

I was uploading this piece of code

Am I the only one who can’t see the code?

Sorry. When I tried posting the code and the error messages the forum said it was over the 9000 word max.

Append it to your post, as described in "How to use the forum".

I did!

There is a link to a google doc with the code on it. Sorry!

Where is the error message?
(All of it)

Arduino: 1.8.13 (Windows 10), Board: "Adafruit Circuit Playground"

Warning: Board breadboard:avr:atmega328bb doesn't define a 'build.board' preference. Auto-set to: AVR_ATMEGA328BB

C:\Users\riley\Documents\Arduino\TEST\DIY_Headtracker\headTracker\headTracker.ino: In function 'void setup()':

headTracker:134:9: error: 'EEPROM' was not declared in this scope

     if (EEPROM.read(0) != 8)

         ^~~~~~

C:\Users\riley\Documents\Arduino\TEST\DIY_Headtracker\headTracker\headTracker.ino:134:9: note: suggested alternative: 'EEAR10'

     if (EEPROM.read(0) != 8)

         ^~~~~~

         EEAR10

headTracker:147:9: error: 'SaveAccelData' was not declared in this scope

         SaveAccelData();

         ^~~~~~~~~~~~~

C:\Users\riley\Documents\Arduino\TEST\DIY_Headtracker\headTracker\headTracker.ino:147:9: note: suggested alternative: 'SaveMagData'

         SaveAccelData();

         ^~~~~~~~~~~~~

         SaveMagData

C:\Users\riley\Documents\Arduino\TEST\DIY_Headtracker\headTracker\headTracker.ino: In function 'void loop()':

headTracker:175:49: error: 'BUTTON_HOLD_PAUSE_THRESH' was not declared in this scope

         if ( !pauseToggled && (buttonDownTime > BUTTON_HOLD_PAUSE_THRESH) )

                                                 ^~~~~~~~~~~~~~~~~~~~~~~~

headTracker:300:41: error: 'HT_PAN_REVERSE_BIT' was not declared in this scope

                 if ((servoReverseMask & HT_PAN_REVERSE_BIT) != 0)

                                         ^~~~~~~~~~~~~~~~~~

headTracker:304:41: error: 'HT_ROLL_REVERSE_BIT' was not declared in this scope

                 if ((servoReverseMask & HT_ROLL_REVERSE_BIT) != 0)

                                         ^~~~~~~~~~~~~~~~~~~

headTracker:308:41: error: 'HT_TILT_REVERSE_BIT' was not declared in this scope

                 if ((servoReverseMask & HT_TILT_REVERSE_BIT) != 0)

                                         ^~~~~~~~~~~~~~~~~~~

headTracker:358:32: error: 'FIRMWARE_VERSION_FLOAT' was not declared in this scope

                 Serial.println(FIRMWARE_VERSION_FLOAT, 2);

                                ^~~~~~~~~~~~~~~~~~~~~~

headTracker:568:17: error: 'SaveAccelData' was not declared in this scope

                 SaveAccelData();

                 ^~~~~~~~~~~~~

C:\Users\riley\Documents\Arduino\TEST\DIY_Headtracker\headTracker\headTracker.ino:568:17: note: suggested alternative: 'SaveMagData'

                 SaveAccelData();

                 ^~~~~~~~~~~~~

                 SaveMagData

headTracker:651:30: error: 'SERIAL_OUTPUT_FRAME_INTERVAL' was not declared in this scope

         if (frameNumber++ >= SERIAL_OUTPUT_FRAME_INTERVAL)

                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\riley\Documents\Arduino\TEST\DIY_Headtracker\headTracker\headTracker.ino: In function 'void SaveSettings()':

headTracker:683:5: error: 'EEPROM' was not declared in this scope

     EEPROM.write(1, (unsigned char)(tiltRollBeta * 100));

     ^~~~~~

C:\Users\riley\Documents\Arduino\TEST\DIY_Headtracker\headTracker\headTracker.ino:683:5: note: suggested alternative: 'EEAR10'

     EEPROM.write(1, (unsigned char)(tiltRollBeta * 100));

     ^~~~~~

     EEAR10

C:\Users\riley\Documents\Arduino\TEST\DIY_Headtracker\headTracker\headTracker.ino: In function 'void GetSettings()':

headTracker:759:30: error: 'EEPROM' was not declared in this scope

     tiltRollBeta    = (float)EEPROM.read(1) / 100;

                              ^~~~~~

C:\Users\riley\Documents\Arduino\TEST\DIY_Headtracker\headTracker\headTracker.ino:759:30: note: suggested alternative: 'EEAR10'

     tiltRollBeta    = (float)EEPROM.read(1) / 100;

                              ^~~~~~

                              EEAR10

headTracker:769:17: error: 'HT_TILT_REVERSE_BIT' was not declared in this scope

     if ( temp & HT_TILT_REVERSE_BIT )

                 ^~~~~~~~~~~~~~~~~~~

headTracker:773:17: error: 'HT_ROLL_REVERSE_BIT' was not declared in this scope

     if ( temp & HT_ROLL_REVERSE_BIT )

                 ^~~~~~~~~~~~~~~~~~~

headTracker:777:17: error: 'HT_PAN_REVERSE_BIT' was not declared in this scope

     if ( temp & HT_PAN_REVERSE_BIT )

                 ^~~~~~~~~~~~~~~~~~

C:\Users\riley\Documents\Arduino\TEST\DIY_Headtracker\headTracker\headTracker.ino: In function 'void SaveMagData()':

headTracker:831:5: error: 'EEPROM' was not declared in this scope

     EEPROM.write(200, (unsigned char)temp);

     ^~~~~~

C:\Users\riley\Documents\Arduino\TEST\DIY_Headtracker\headTracker\headTracker.ino:831:5: note: suggested alternative: 'EEAR10'

     EEPROM.write(200, (unsigned char)temp);

     ^~~~~~

     EEAR10

C:\Users\riley\Documents\Arduino\TEST\DIY_Headtracker\headTracker\headTracker.ino: In function 'void DebugOutput()':

headTracker:888:20: error: 'FIRMWARE_VERSION_FLOAT' was not declared in this scope

     Serial.println(FIRMWARE_VERSION_FLOAT, 2);

                    ^~~~~~~~~~~~~~~~~~~~~~

exit status 1

'EEPROM' was not declared in this scope