The mean average output since the last received trigger.
input signal.
if changes from <= 0 to > 0, resets average and count to zero.