Added mag calibration and interrupt-based data ready

Dependencies:   BLE_API mbed-src nRF51822

Revision:
3:fe46f14f5aef
Parent:
1:71c319f03fda
Child:
4:8d11bfc7cac0
--- a/main.cpp	Tue Aug 05 01:37:23 2014 +0000
+++ b/main.cpp	Mon Jun 15 21:34:33 2015 +0000
@@ -51,7 +51,7 @@
    Serial pc(USBTX, USBRX); // tx, rx
 
    //        VCC,   SCE,  RST,  D/C,  MOSI,S CLK, LED
-   N5110 lcd(PA_8, PB_10, PA_9, PA_6, PA_7, PA_5, PC_7);
+   N5110 lcd(P0_8, P0_10, P0_9, P0_6, P0_7, P0_5, P0_7);