AVERAGE
Jump to navigation
Jump to search
Syntax[edit]
AVERAGE
Description[edit]
The average function returns the average of the numbers passed to it since the last AVERAGE CLEAR command.
Example[edit]
Clear the average accumulator
AVERAGE CLEAR
Take the average of SENSOR A over 10 readings
FOR 10 TIMES AVERAGE SENSOR A NEXT PRINT AVERAGE