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 Rohm

Revision:
7:f83fa2f3cfab
Parent:
1:4d6dc19a2347
--- 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