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.

Files at this revision

API Documentation at this revision

Comitter:
clemente
Date:
Fri Jul 10 14:58:19 2020 +0000
Parent:
10:82ac06669316
Commit message:
Added License

Changed in this revision

MPL3115A2.cpp Show annotated file Show diff for this revision Revisions of this file
MPL3115A2.h Show annotated file Show diff for this revision Revisions of this file
diff -r 82ac06669316 -r a5ce3ee460b6 MPL3115A2.cpp
--- a/MPL3115A2.cpp	Tue Sep 24 20:22:25 2013 +0000
+++ b/MPL3115A2.cpp	Fri Jul 10 14:58:19 2020 +0000
@@ -1,3 +1,22 @@
+/*   MPL3115A2 I2C precision pressure sensor with altimetry Library
+*
+*    @author: Clemente di Caprio 
+*    @date: September 24, 2013
+*    @license: Apache License, Version 2.0
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
 #include "MPL3115A2.h"
 
 #define REG_WHO_AM_I        0x0C        // return 0xC4 by default
diff -r 82ac06669316 -r a5ce3ee460b6 MPL3115A2.h
--- a/MPL3115A2.h	Tue Sep 24 20:22:25 2013 +0000
+++ b/MPL3115A2.h	Fri Jul 10 14:58:19 2020 +0000
@@ -1,3 +1,22 @@
+/*   MPL3115A2 I2C precision pressure sensor with altimetry Library
+*
+*    @author: Clemente di Caprio 
+*    @date: September 24, 2013
+*    @license: Apache License, Version 2.0
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
 #ifndef MPL3115A2_H
 #define MPL3115A2_H