Tweet

Replying to @Automatid

the raw reading is 14 bits, but if we did the math and turned them into floats, each would take 4 bytes × 3 axes, plus 2 bytes for the counter and some more for parameters; now each reading is 16 bytes. Bit packing the raw values lets us fit a full data point in just 8 bytes.

(original)