Finding the average of a few maximum and minim…

Finding the average of a few maximum and minimum points:

#arduino