Hi.
I'm currently programing a regulator, that reads settings from an SD card. Since opening a file and reading is not hard to accomplish. I am having some questions about writing to it. I would like to know if there is a way to open a file and edit a line in it. Let's say I want to open line 23 and edit a number 1234 to 4321. How can this be done?
I was thinking about large buffer that reads the whole file and then edits desired line, deletes the original file and writes a new one. Can this be done more efficient?
I googled this but found nothing.
Best regards