I wish to continuously capture sensor data (comma separated strings) to a LIST and periodically write it out to a file and clear the list to keep heap size within limits.
The File.WriteList method caught my eye, but it overwrites any data in the file each time it is called, while at each write cycle, I wish to append new data to existing data.
I would appreciate any advice. Of course, I suppose I can iterate through the list and write each list member.
The File.WriteList method caught my eye, but it overwrites any data in the file each time it is called, while at each write cycle, I wish to append new data to existing data.
I would appreciate any advice. Of course, I suppose I can iterate through the list and write each list member.