Test accelerometer

Dependencies:   MMA845x mbed

Revision:
0:918a677c6b26
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Jul 26 21:43:57 2013 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+#include "MMA845x.h"
+
+DigitalOut myled(LED1);
+
+int main() {
+    while(1) {
+        myled = 1;
+        wait(0.2);
+        myled = 0;
+        wait(0.2);
+    }
+}