Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MPL3115A2 by
Revision 11:98b64b8fe817, committed 2013-10-10
- 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];