Upverter fit bit clone.

Dependencies:   ADXL345 MPU6050 SDFileSystem USBDevice mbed ms5611

Files at this revision

API Documentation at this revision

Comitter:
sam_grove
Date:
Wed Sep 04 01:29:38 2013 +0000
Parent:
0:6b97a0062296
Commit message:
added libraries for hardware IC's

Changed in this revision

ADXL345.lib Show annotated file Show diff for this revision Revisions of this file
MPU6050.lib Show annotated file Show diff for this revision Revisions of this file
SDFileSystem.lib Show annotated file Show diff for this revision Revisions of this file
USBDevice.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
ms5611.lib Show annotated file Show diff for this revision Revisions of this file
diff -r 6b97a0062296 -r 2ad2659b666d ADXL345.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ADXL345.lib	Wed Sep 04 01:29:38 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/aberk/code/ADXL345/#bd8f0f20f433
diff -r 6b97a0062296 -r 2ad2659b666d MPU6050.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MPU6050.lib	Wed Sep 04 01:29:38 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/Sissors/code/MPU6050/#5c63e20c50f3
diff -r 6b97a0062296 -r 2ad2659b666d SDFileSystem.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SDFileSystem.lib	Wed Sep 04 01:29:38 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/SDFileSystem/#c8f66dc765d4
diff -r 6b97a0062296 -r 2ad2659b666d USBDevice.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/USBDevice.lib	Wed Sep 04 01:29:38 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/USBDevice/#6030a12b6c62
diff -r 6b97a0062296 -r 2ad2659b666d main.cpp
--- a/main.cpp	Tue Sep 03 23:59:30 2013 +0000
+++ b/main.cpp	Wed Sep 04 01:29:38 2013 +0000
@@ -1,9 +1,28 @@
 #include "mbed.h"
+#include "USBSerial.h"
+#include "MPU6050.h"
+#include "ADXL345.h"
+#include "ms5611.h"
+#include "SDFileSystem.h"
 
+// IC's that are used by the hardware
+//USBSerial usb;
+//MPU6050 imu(sda, scl);
+//ADXL345 accelermoeter(mosi, miso, sck, cs);
+//ms5611 baro(sda, scl);
+//SDFileSystem sd(mosi, miso, sclk, cs, "sd");
+//TODO:
+//NRF8001 bt(comms, comms);
+//EK014AS015 e_ink(comms, comms);
+
+// just make sure the code does something
 DigitalOut myled(LED1);
 
-int main() {
-    while(1) {
+int main()
+{
+    // code is still just hello world...
+    while(1)
+    {
         myled = 1;
         wait(0.2);
         myled = 0;
diff -r 6b97a0062296 -r 2ad2659b666d ms5611.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ms5611.lib	Wed Sep 04 01:29:38 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/loopsva/code/ms5611/#41c370fa1f7b