How can i save & read-out a multiline .ini-Textfile ?
one-line files are no problem ;-)
i.e. number1.ini:
true
false
false
true
i have boolean variables that must be filled on programstart with the last settings.
When saving, each line in each .ini File (there a 16 of it) must be possible to update, i.e. number1.ini
true
true
false
true
Here only line2 changes and has to be set immediatly after switching the relay
Or in another way:
is it possible to READ the status of an relay direct from itself or works it only with this "last setting" solution ?
one-line files are no problem ;-)
i.e. number1.ini:
true
false
false
true
i have boolean variables that must be filled on programstart with the last settings.
When saving, each line in each .ini File (there a 16 of it) must be possible to update, i.e. number1.ini
true
true
false
true
Here only line2 changes and has to be set immediatly after switching the relay
Or in another way:
is it possible to READ the status of an relay direct from itself or works it only with this "last setting" solution ?