The sum and average should be singles.Hi,
Here's the latest with corrections MARKED ??????????? ###############
Gives readings between 102952 to 61
EDIT: Should line: 'If index > 9 Then index = 0' also be 10?
EDITEDIT: I tried it and it looks like it's trying, but it could be my imagination.
C
The index is not necessarily 0, when the loadbfr is filled first time.