accelerometer read binary
Try to do a generic binary read and have the accel inherit from there
first "Start capturing" each row: 0xFF (1 byte) time (4 bytes) accel X (4 bytes) accel Y (4 bytes) accel Z (4 bytes) orientation X (4 bytes) orientation Y (4 bytes) orientation Z (4 bytes)
Take care on the serial port object, see how is it done in gui/forceSensor.cs