hmc5883l: improve documentation and sample

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-09-07 15:20:04 +01:00
parent 88bf6956fe
commit 0ef50b8be2
4 changed files with 10 additions and 5 deletions

View File

@ -32,10 +32,14 @@ namespace upm {
/**
* @brief C++ API for HMC5883l (3-axis digital compass)
*
* This file defines the HMC5883l C++ interface for libhmc5883l
* The Honeywell [HMC5883L]
* (http://www.adafruit.com/datasheets/HMC5883L_3-Axis_Digital_Compass_IC.pdf)
* is a 3-axis digital compass. Communication with the HMC5883L is simple and
* all done through an I2C interface. Different breakout boards are available,
* typically a 3V supply is all that is needed to power the sensor.
*
* @snippet hmc5883l.cxx Interesting
*
* @image html hmc5883l.jpeg
*/
class Hmc5883l {