Writing a Structure to Flash
TurnipTruck
Posts: 1,485
Greetings,
I have never been able to sucessfully write a structure to flash and then be able to read it back into the same structure format.
Let's say:
Thanks.
I have never been able to sucessfully write a structure to flash and then be able to read it back into the same structure format.
Let's say:
STRUCTURE _sData { INTEGER nData[10] CHAR cData[10][10] } ..... DEFINE_VARIABLE VOLATILE _sData sData[50]Any examples would be appreciated.
Thanks.
0
Comments
--John
SET_LENGTH_ARRAY(somestruct.someintegerarray,MAX_LENGTH_ARRAY(somestruct.someintegerarray));
I still just use String_to_variable because it has always worked fine for me.
--John