27 #include <mraa/i2c.hpp>
29 #define MAX_BUFFER_LENGTH 6
107 uint8_t m_rx_tx_buf[MAX_BUFFER_LENGTH];
void set_declination(float dec)
Definition: hmc5883l.cxx:162
mraa::Result update()
Definition: hmc5883l.cxx:121
API for the HMC5883L 3-Axis Digital Compass.
Definition: hmc5883l.h:60
Hmc5883l(int bus)
Definition: hmc5883l.cxx:84
float get_declination()
Definition: hmc5883l.cxx:168
int16_t * coordinates()
Definition: hmc5883l.cxx:156