Upverter fit bit clone.

Dependencies:   ADXL345 MPU6050 SDFileSystem USBDevice mbed ms5611

main.cpp

Committer:
sam_grove
Date:
2013-09-04
Revision:
1:2ad2659b666d
Parent:
0:6b97a0062296

File content as of revision 1:2ad2659b666d:

#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()
{
    // code is still just hello world...
    while(1)
    {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}