Sparkfun Pro Micro 5V/16MHz EEPROM?

For the discussion of Arduino related topics.

Moderator: phalanx

Post Reply
paynterf
Posts: 16
Joined: Wed Jan 28, 2015 7:34 pm

Sparkfun Pro Micro 5V/16MHz EEPROM?

Post by paynterf » Tue Oct 23, 2018 6:11 am

Hi,

I'm trying to compile an Arduino sketch for the Sparkfun Pro Micro 5V/16MHz board, but I'm getting a compile error 'eeprom.h not found'. Googling around a bit, I see this error can occur if the selected board doesn't have EEPROM - but the specs for the Pro Micro at

https://cdn.sparkfun.com/datasheets/Dev ... ga32U4.pdf

show 1KB EEPROM available.

Am I missing something here?

TIA,

Frank

paynterf
Posts: 16
Joined: Wed Jan 28, 2015 7:34 pm

Re: Sparkfun Pro Micro 5V/16MHz EEPROM?

Post by paynterf » Tue Oct 23, 2018 7:24 am

Never mind. I didn't realize the #include was case-sensitive. The proper line is:

#include <EEPROM.h>

Regards,

Frank

Post Reply