Skip to content

Error reading a structure #12

@aderiver

Description

@aderiver

Hi I am using WriteBlock () function to save a structure, everything works fine, but when I unplug the card and flip on the read data is not exactly what keep bringing but a kind of special characters

This is the code I use to save

String readString = "write,192.168.0.189,http://sisfo.com/temp.php,5";
configurationValue.ip = getValue(readString,',',1);
configurationValue.url = getValue(readString,',',2);
configurationValue.time = getValue(readString,',',3);
EEPROM.WriteBlock(1, configurationValue);

This is the code i use to read
EEPROM.readBlock(1, configurationValueOut);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions