Adafruit FXOS8700 Accelerometer Magnetometer Library
|
#include <Adafruit_FXOS8700.h>
Public Member Functions | |
Adafruit_FXOS8700_Magnetometer (Adafruit_FXOS8700 *parent) | |
Create an Adafruit_Sensor compatible object for the magnetometer sensor. More... | |
bool | getEvent (sensors_event_t *) |
Gets the magnetometer as a standard sensor event. More... | |
void | getSensor (sensor_t *) |
Gets the sensor_t data for the FXOS8700's magnetic sensor. | |
Adafruit Unified Sensor interface for magnetometer component of FXOS8700
|
inline |
Create an Adafruit_Sensor compatible object for the magnetometer sensor.
parent | A pointer to the FXOS8700 class |
bool Adafruit_FXOS8700_Magnetometer::getEvent | ( | sensors_event_t * | event | ) |
Gets the magnetometer as a standard sensor event.
event | Sensor event object that will be populated |