Brendan Le Foll
ffcf3d7d07
clang-format: run clang-format on C/C++ code
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-03-23 15:15:48 +00:00
Brendan Le Foll
ec5c09fe37
I2c-compass.cpp: fix incorrect usage of write/writeByte
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-01-06 11:37:07 +00:00
Brendan Le Foll
8eff646cb0
I2c-compass.cpp: fix example to use char instead of uint8_t
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-07-01 14:55:47 +01:00
Thomas Ingleby
6853997a92
mraa: rename from maa to mraa
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-24 17:24:54 +01:00
Brendan Le Foll
79d0da4853
maa: change complex C++ write calls to CamelCase for spi & i2c
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-24 14:42:24 +01:00
Brendan Le Foll
84d1e3ba25
I2c-compass.cpp: fix example to use HMC5883L_CONT_MODE
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-18 09:59:50 +01:00
Brendan Le Foll
faedfce419
maa: add global maa.h and maa.hpp and stop using /usr/include/maa/
...
* pkg-config now only sees maa.h & maa.hpp
* usage of maa/*.{h,hpp} is still allowed
* examples updated to use maa.{h,hpp}
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-10 16:47:37 +01:00
Brendan Le Foll
5b191ab6cd
api: add proper doxygen comments to C++ headers and normalise doc
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-30 17:19:08 +01:00
Brendan Le Foll
d847ae7847
i2c: use uint8_t throughout to make code clearer
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-23 14:21:53 +01:00
Thomas Ingleby
8d21d477b8
examples: added more cpp examples.
...
Mostly just the same functionality as the C examples yet using the cpp
api.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-22 14:17:33 +01:00