global variables vs static
static storage class modifier allows it to preserve it's old values between calls
"LowLatencyLogger" is intended to be easy to modify while providing data logging at up to 500 Hz on AVR boards without using multi-threading or interrupts.
"AnalogBinLogger" demonstrates faster logging, up to 40,000 Hz for a single pin. AnalogBinLogger uses interrupts and a timer so it is more difficult to modify for another sensor.