Arduino 1.6.1 eeprom.h missing (for Pro Micro)

Your source for all things Atmel.

Moderator: phalanx

Post Reply
ylh
Posts: 1
Joined: Tue Sep 23, 2014 12:16 pm

Arduino 1.6.1 eeprom.h missing (for Pro Micro)

Post by ylh » Tue Mar 17, 2015 6:34 am

I have been using a piece of code with #include <EEPROM.H> successfully. Recently I upgraded the Arduino environment to 1.6.1 and got this

fatal error: EEPROM.h: No such file or directory
compilation terminated.
Error compiling.

I am using the latest Sparkfun add-on (although I still have an old copy of SF32u4_boards-master). I just cannot seem to find a source for eeprom.h and eeprom.cpp. Please help. Thanks.

tombray
Posts: 2
Joined: Fri Mar 20, 2015 4:34 pm

Re: Arduino 1.6.1 eeprom.h missing (for Pro Micro)

Post by tombray » Fri Mar 20, 2015 4:37 pm

I am having the same issue with the mega board. Very annoying since I just finished writing all the code to talk to the eeprom.

tombray
Posts: 2
Joined: Fri Mar 20, 2015 4:34 pm

Re: Arduino 1.6.1 eeprom.h missing (for Pro Micro)

Post by tombray » Fri Mar 20, 2015 6:49 pm

Open the main sketch. Then go to sketch tab and import library, select EEPROM. It will put EEPROM.h as the first line of the file and it finds it just fine.

Sounds like a bug to me.

Post Reply