#ifndef __MAG3110_H__ #define __MAG3110_H__ #include #include "i2c_mag_sensor.h" class MAG3110 : public I2C_MAG_SENSOR { public: static const Uint8 i2c_address; MAG3110(I2C &i2c_if); void init(); void raw(Uint8 (&raw_buf)[6]); void get_id(char (&buf)[1]); }; #endif /* __MAG3110_H__ */