upm: Add sensor groups based on IO types

This commit also fixes adds some default constructor arguments to some i2c
sensors.

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-10-02 10:28:29 +01:00
parent 79e8a261ba
commit 397af51d7c
33 changed files with 97 additions and 39 deletions

View File

@ -118,7 +118,7 @@ struct AxisData {
*
* This file defines the MPU9150 C++ interface for libmpu9150
*
* @ingroup mpu9150
* @ingroup mpu9150 i2c
* @snippet mpu9150-example.cxx Interesting
*/
class MPU9150 {
@ -129,7 +129,7 @@ class MPU9150 {
* @param bus number of used bus
* @param devAddr addres of used i2c device
*/
MPU9150 (int bus, int devAddr);
MPU9150 (int bus=0, int devAddr=0x68);
/**
* MPU9150 object destructor, basicaly it close i2c connection.