Skip to content

Does this library support writing type "String" ? #1

@ullix

Description

@ullix

Using an ESP32 with an 24C32 EEPROM I tried to write Strings to the EEPROM with these lines:

`String myValue4[] = "this is my test string";   
myMem.put(5, myValue4);   
String myRead4;  
myMem.get(5, myRead4); 
Serial.printf("I read string: %s \n", myRead4.c_str());
Serial.println("String putting and getting done");

`
While put and get is done correctly as the prints give correct output, upon exiting the subroutine with this code, I get a "Corrupt Heap" crash right away.

Am I doing something wrong, or is this lib not supporting the String type?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions