AdmiralCrunch
Well-known member
Hi
I want to save/load some project configuration-variables on/from my SD-Card (teensy 3.6).
reading and writing works fine, but now I struggle with what would be the best way (format) to store my config-vars in the file.
I was thinking about it like this:
how would i split the vars, so I can get a array like
myVars["myVar_1"] = 23;
or is this the wrong solution?
I want to save/load some project configuration-variables on/from my SD-Card (teensy 3.6).
reading and writing works fine, but now I struggle with what would be the best way (format) to store my config-vars in the file.
I was thinking about it like this:
Code:
myVar_1:23
myVar_2:35
myVar_3:65
how would i split the vars, so I can get a array like
myVars["myVar_1"] = 23;
or is this the wrong solution?