read the bytes back into a simple array
now passing a struct back and forth with the sensor data