revisions to pressure and magnetometer

Dependencies:   HMC5883L IMU MPU6050 MS5803 MS5837 mbed-rtos mbed sensor

Fork of sensor_library_test by Andrew Olguin

Files at this revision

API Documentation at this revision

Comitter:
srago001
Date:
Mon Jul 25 04:04:53 2016 +0000
Parent:
3:6ca88b9c44c1
Commit message:
sonya's revisions to pressure

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
sensor.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Jul 25 00:51:01 2016 +0000
+++ b/main.cpp	Mon Jul 25 04:04:53 2016 +0000
@@ -23,7 +23,9 @@
 #include "mbed.h"
 #include "sensor.h"
 
+
 int main() {
+    device.attach(&callback);
     sensor_init();
     while (1) {
         sensor_update();
--- a/sensor.lib	Mon Jul 25 00:51:01 2016 +0000
+++ b/sensor.lib	Mon Jul 25 04:04:53 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/aolgu003/code/sensor/#6126bf6cdfae
+https://developer.mbed.org/users/srago001/code/sensor/#be5fd562cbd4