1#ifndef SERIAL_SIM_LIS2MDL_H
2#define SERIAL_SIM_LIS2MDL_H
6#ifndef LIS2MDL_RATE_100_HZ
7#define LIS2MDL_RATE_100_HZ 0x06
15 bool begin(
int addr) {
return true; }
#define LIS2MDL_RATE_100_HZ
void getEvent(sensors_event_t *mag)
void enableInterrupts(bool a)
void setDataRate(int rate)
void updateMag(sensors_event_t *mag)
static SerialSim & getInstance()