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>
building.md: update cmake instructions

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
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>
tsl2561: remove executable permissions on files

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
tsl2561: fix indentation, style and namespace

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
tsl2561: change getLux calls to return an int

To follow with our simple API requirements, change the return value of getLux()
call to an int. This lets SWIG do a better job with generating an API

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
tsl2561: update example to use new API

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
tsl2561: fix indentation of example

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
tsl2561.cxx: remove exec perms

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
grove: rotary angle sensor

Signed-off-by: Mihai Tudor Panu <mihai.t.panu@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
grove: sliding potentiometer

Signed-off-by: Mihai Tudor Panu <mihai.t.panu@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
mic.h: update link to example

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
lol.h: remove unimplemented function

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
lol: styling fix and remove static gpio tables for gen1

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
max5487: fix optional parameter in constructor

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
hmc5883l: fixed type cast in update()

Signed-off-by: Mihai Tudor Panu <mihai.t.panu@intel.com>
hmc5883l: changed to standard heading and added declination

Signed-off-by: Mihai Tudor Panu <mihai.t.panu@intel.com>
hmc5883l: use int16_t as coordinate type throughout

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
htu21d: sensor added

Signed-off-by: William Penner <william.penner@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>