Magnetometer

Magnetometer peripheral interface.

Base class telling whether the magnetometer is calibrated or not.

A subclass shall be used to control the calibration process, depending on the device, for instance MagnetometerWith1StepCalibration or MagnetometerWith3StepCalibration.

This peripheral can be obtained from a peripheral providing device (such as a drone or a remote control) using:

device.getPeripheral(Magnetometer.class)

See also

Peripheral.Provider

Inheritors

Types

Link copied to clipboard
Magnetometer calibration state.

Functions

Link copied to clipboard
The magnetometer calibration state.