Class for making communication easier from code to i2c connected Rohm/Kionix sensors. Maybe could be used later also for abstracting Arduino/mbed os. Code ported from 'C'-library rohm-sensor-hal.
Dependents: kionix-kx123-hello rohm-bh1790glc-hello simple-sensor-client rohm-SensorShield-example
Fork of rohm-sensor-hal by
Revision 7:f83fa2f3cfab, committed 2016-04-12
- Comitter:
- MikkoZ
- Date:
- Tue Apr 12 12:55:24 2016 +0000
- Parent:
- 6:98280a97a486
- Child:
- 8:dea50f607a45
- Commit message:
- Extra uint8_t definition removed; ; uint8_t definition in rohm_hal.h removed; .hgignore autoupdated by mbed classic ui;
Changed in this revision
| .hgignore | Show annotated file Show diff for this revision Revisions of this file |
| rohm-sensor-hal/rohm_hal.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/.hgignore Tue Apr 12 11:00:43 2016 +0300 +++ b/.hgignore Tue Apr 12 12:55:24 2016 +0000 @@ -1,2 +1,19 @@ -syntax: glob -.git/* +syntax: regexp +\.hgignore$ +\.git$ +\.svn$ +\.orig$ +\.msub$ +\.meta$ +\.ctags +\.uvproj$ +\.uvopt$ +\.project$ +\.cproject$ +\.launch$ +\.project$ +\.cproject$ +\.launch$ +Makefile$ +\.ewp$ +\.eww$ \ No newline at end of file
--- a/rohm-sensor-hal/rohm_hal.h Tue Apr 12 11:00:43 2016 +0300
+++ b/rohm-sensor-hal/rohm_hal.h Tue Apr 12 12:55:24 2016 +0000
@@ -21,9 +21,6 @@
#include "mbed.h" //types
#include "I2C.h" //I2C
- #ifndef uint8_t
- #define uint8_t int
- #endif
#define USE_MBED_HARDWARE_I2C
extern Serial pc;
//Serial pc(USBTX, USBRX); done in main.cpp
