The validValues and rawValues arrays are written in the interrupt handler
therefore they cannot be safely read in the main loop without disabling
interrupts.
The data arrays were deleted before detatching the interrupt handler (that will
write to these arrays).
validValues
andrawValues
arrays are written in the interrupt handler therefore they cannot be safely read in the main loop without disabling interrupts.