Using delta of .5
Only keep the last 100 values.
Calibration is false if less than 100 values.

The average must be taken over 100 values. If there are less, the baro is not
yet calibrated.
Using separate process to get keyboard inputs.