added gy80 dcm

Dependencies:   mbed DCM_AHRS_GY80 PID MMA8451Q

Fork of quadCommand by Greg Abdo

main.cpp

Committer:
oprospero
Date:
2013-06-10
Revision:
21:63b99aee1c7c
Parent:
8:72791d8c36b7
Child:
29:799ccb9be2be
Child:
30:75caa2d18286

File content as of revision 21:63b99aee1c7c:

#include "quadCommand.h"

int main() 
{
    Ticker motorProcess;// Control timer
    quadCommand quad;   // Create quadCommand object.
    quad.run();         // Start quadCommand running.
    
    //Updates motors on set intervals
    motorProcess.attach(&quad, &quadCommand::updateMotors, quadCommand::MOTOR_UPDATE/1000.0f);
}