float [] ax = { 0.f }, ay = { 0.f }, az = { 0.f };
float [] gx = { 0.f }, gy = { 0.f }, gz = { 0.f };
float [] mx = { 0.f }, my = { 0.f }, mz = { 0.f };
while (true) {
while (move.poll() != 0) {
move.get_accelerometer_frame(Frame.Frame_SecondHalf,
ax, ay, az);
move.get_gyroscope_frame(Frame.Frame_SecondHalf,
gx, gy, gz);
move.get_magnetometer_vector(mx, my, mz);