Open Inth opened 1 year ago
Could you attach your library files ? EEPROM.h and EEPROM.cpp
here I am using the library EEPROM 1.0.3 found in Local/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/EEPROM
EEPROM.h begins with: /* EEPROM.h -ported by Paolo Becchi to Esp32 from esp8266 EEPROM -Modified by Elochukwu Ifediora ifedioraelochukwuc@gmail.com -Converted to nvs lbernstone@gmail.com
Uses a nvs byte array to emulate EEPROM
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved. This file is part of the esp8266 core for Arduino environment.
Here is the lib I am using
I manged to fix that by changing line 46: EEPROMClass parametersStorage("eeprom", 0x500); to EEPROMClass parametersStorage("eeprom");
and changing line 118 if (!parametersStorage.begin(parametersStorage.length())) { to if (!parametersStorage.begin(0x500)) {
Hi there when I try to compile the code I get an error for the line mentioned in the subject:
Error: error: no matching function for call to 'EEPROMClass::EEPROMClass(const char [7], int)' EEPROMClass parametersStorage("eeprom" , 0x500);
could you maybe suggest any soution ?