Llibrary for the WiGo MPL3115A2, I2C Precision Altimeter sensor.

Dependents:   XtrinsicSensorEVK

Fork of MPL3115A2 by clemente di caprio

Files at this revision

API Documentation at this revision

Comitter:
jppang
Date:
Thu Oct 10 02:21:36 2013 +0000
Parent:
10:82ac06669316
Commit message:
modified interrupt pins bonding

Changed in this revision

MPL3115A2.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/MPL3115A2.cpp	Tue Sep 24 20:22:25 2013 +0000
+++ b/MPL3115A2.cpp	Thu Oct 10 02:21:36 2013 +0000
@@ -48,9 +48,9 @@
 void (*MPL3115A2_usr2_fptr)(void);               // Pointers to user function called after
 void (*MPL3115A2_usr1_fptr)(void);               // IRQ assertion.
 
-//
-InterruptIn MPL3115A2_Int1( PTD4);       // INT1
-InterruptIn MPL3115A2_Int2( PTA12);      // INT2
+
+InterruptIn MPL3115A2_Int1( PTD1);       // INT1
+InterruptIn MPL3115A2_Int2( PTD3);      // INT2
 
 MPL3115A2::MPL3115A2(PinName sda, PinName scl, int addr) : m_i2c(sda, scl), m_addr(addr) {
     unsigned char data[6];