Hi all,
I'd like to calculate the percentage grade in my data field and thought of the following:
Use two arrays of defined size and populate them with rise and run (e.g. over the course of 5 seconds), then start calculating grade. Each consecutive second, drop the first value and append the most recent value to both arrays, then recalculate grade.
I'm having some trouble finding out how to do the filling of the arrays though, can someone point me in the right direction?
Thanks in advance for any help!