I have a digital output that turns on and off for different periods of time. I am using the elapled time function to measure the time it is on and I need to store this time value in an array or in a file whenever the output goes off. I am having trouble getting my program to store the value, does anyone have any ideas?
