4 Commits

Author SHA1 Message Date
Mccool, Michael
fd54745cc0 lsm303: fix types returned by module and heading formula
* getRawAccelData() & other accel functions now return int16_t
* scale is now a supported constructor parameter
* heading returns 0-360 values

Signed-off-by: Mccool, Michael <michael.mccool@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-11-10 09:25:28 +00:00
Brendan Le Foll
44b1ff7f75 lsm303: make code alot more robust and fix getHeading() call
Note that from this UPM release libmraa 0.5.2+ is required

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-11-07 10:54:12 +00:00
Brendan Le Foll
e7a32b9882 lsm303: add quick accel data functions
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-18 16:31:58 +01:00
Brendan Le Foll
88bf6956fe lsm303: add new sensor, 6-Axis Accelerometer/Compass
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-05 19:00:43 +01:00