Structure

CMMagneticField

A structure containing 3-axis magnetometer data

Declaration

typedef struct {
    ...
} CMMagneticField;

Topics

Getting the Field Values

x

X-axis magnetic field in microteslas.

y

Y-axis magnetic field in microteslas.

z

Z-axis magnetic field in microteslas.

See Also

Getting the Field Strength

magneticField

Returns the magnetic field measured by the magnetometer.