Compass

Dependencies:   C12832_lcd mbed

Fork of CMPS03_HelloWorld by Aaron Berk

Revision:
2:97935c090b6b
Parent:
1:3eeda0cce598
--- a/main.cpp	Sat Nov 27 12:11:04 2010 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-#include "CMPS03.h"
-
-CMPS03 compass(p9, p10, CMPS03_DEFAULT_I2C_ADDRESS);
-Serial pc(USBTX, USBRX);
-
-int main() {
-
-    pc.printf("Starting CMPS03 test...\n");
-
-    while(1){
-        
-        wait(0.1);
-        
-        pc.printf("Bearing is: %f\n", compass.readBearing() / 10.0);
-    
-    }
-
-}