Llibrary for the WiGo MPL3115A2, I2C Precision Altimeter sensor.

Dependents:   KL25Z_Batt_Test WIGO_MPL3115A2 Multi-Sensor SPACEmk2 ... more

30/05/2013 Added and tested the data acquisition using Interrupt. Added code for Altimeter trigger Interrupt but not yet tested.

Very basic library. Under development. Need to add in order: 1. IRQ configuration. 2. FIFO mode configuration.

Revision:
4:fdf14a259af8
Parent:
3:a2f1752add9a
Child:
5:9edec5ee8bf4
--- a/MPL3115A2.h	Wed May 29 11:56:52 2013 +0000
+++ b/MPL3115A2.h	Thu May 30 07:27:24 2013 +0000
@@ -145,9 +145,9 @@
     void DataReady( void(*fptr)(void), unsigned char OS);
 
     /**
-    * Configure the sensor to streaming data using Interrupt
+    * Configure the sensor to generate an Interrupt crossing the center threshold
     *
-    * @param user functin callback, oversampling values. See MPL3115A2.h
+    * @param user functin callback, level in meter
     * @return none
     */
     void AltitudeTrigger( void(*fptr)(void), unsigned short level);