hello ! i have a pre-allocated array of size 100 rows on which the data is being written after reading packets from serial read. My array keeps on replacing by the newer data when all of its 100 rows are filled. I want to ask that how do i add a "record" button functionality to my program so that as soon as i press the record button the array data starts to write in the binary file from the current text entry position of the array and when i press stop button, the file writing stops. for e.g if my current text entry position was at index value 40 and i press the record button , then the recorded file must start from the value which was placed at index 40.
↧