Store accelerometer data in a memory and read later

I'm actually saving float values ​​in memory, I just realized that I didn't put the vibraPackage struct in the post, but the values ​​are all floats.