Starting library to get the SI1143 Gesture Sensor to work. Currently only works in forced conversion mode.

Dependents:   Gesture_Sensor Gesture_Arm_Robot mbed_gesture Gesture_Sensor_Sample ... more

Revision:
4:af8f820733e0
Parent:
3:cb3e8160f18e
Child:
5:3fadc61598bc
--- a/SI1143.cpp	Thu Oct 17 22:03:54 2013 +0000
+++ b/SI1143.cpp	Thu Oct 17 23:23:33 2013 +0000
@@ -39,6 +39,11 @@
     //3.4MHz, as specified by the datasheet, but DO NOT USE.
     //i2c_->frequency(3400000);
     
+    restart();
+}
+
+void SI1143::restart()
+{
     command(RESET);
     wait_ms(30);
     
@@ -170,3 +175,4 @@
     //return PS1;
 }
 
+