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>