5#ifndef MRAS_SENSOR_LIS3MDL_H
6#define MRAS_SENSOR_LIS3MDL_H
13#include "system_messages/MagnetometerDataMsg.h"
25 LIS3MDL::LIS3MDL *lis;
36 SPIClass &spi, uint32_t frequency)
38 lis =
new LIS3MDL::LIS3MDL(chip_select, spi, frequency);
45 int8_t setup()
override;
47 int8_t loop()
override;
49 SUBSYSTEM_NAME(
"LIS3MDL")
50 SUBSYSTEM_NO_MESSAGE_HANDLER
A subsystem for the LIS3MDL magnetometer.
Definition: Sensor_LIS3MDL.h:23
Sensor_LIS3MDL(uint8_t id, uint8_t chip_select, SPIClass &spi, uint32_t frequency)
Construct a new Sensor_LIS3MDL object.
Definition: Sensor_LIS3MDL.h:35
Definition: Subsystem.h:30