added gy80 dcm

Dependencies:   mbed DCM_AHRS_GY80 PID MMA8451Q

Fork of quadCommand by Greg Abdo

main.cpp

Committer:
dereklmc
Date:
2013-06-10
Revision:
28:c6f6d6034d22
Parent:
8:72791d8c36b7
Child:
29:799ccb9be2be
Child:
30:75caa2d18286

File content as of revision 28:c6f6d6034d22:

#include "quadCommand.h"
#include "debug.h"

int main() 
{
    DEBUG(pc.printf("DEBUG ENABLED\r\n");)
    Ticker motorProcess;
    quadCommand quad;   // Create quadCommand object.
    
    DEBUG(pc.printf("Initialized\r\n");)
    quad.run();         // Start quadCommand running.
    motorProcess.attach(&quad, &quadCommand::updateMotors, quadCommand::MOTOR_UPDATE/1000.0f);
}