You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sketch compiles with the error: "invalid array assignment". When I comment out "the crucial line", it will work. Of course, the ArrayCopy1 character array then remains empty. So there is a difference between the original EEPROM functionality in Arduino and your implementation. As you can see, when I "stash" the character array into a structure, it will work with EEPROMWearLevel.
When I change "the crucial line" to:
EEPROMwl.get(Array_VAR2, ArrayCopy1[25]);
the sketch will compile. (With any number between the brackets.) The character array ArrayCopy1 will remain empty, which is expected behavior.
Did I make a mistake or is it a difference in your implementation of EEPROM?
Thank you for your work.
PP
The text was updated successfully, but these errors were encountered:
Hello,
Here is a testing sketch:
The sketch compiles with the error: "invalid array assignment". When I comment out "the crucial line", it will work. Of course, the ArrayCopy1 character array then remains empty. So there is a difference between the original EEPROM functionality in Arduino and your implementation. As you can see, when I "stash" the character array into a structure, it will work with EEPROMWearLevel.
When I change "the crucial line" to:
EEPROMwl.get(Array_VAR2, ArrayCopy1[25]);
the sketch will compile. (With any number between the brackets.) The character array ArrayCopy1 will remain empty, which is expected behavior.
Did I make a mistake or is it a difference in your implementation of EEPROM?
Thank you for your work.
PP
The text was updated successfully, but these errors were encountered: