Dr. Davis and Dr. Dyer special studies robotics project

Dependencies:   BSP_DISCO_F469NI LCD_DISCO_F469NI TS_DISCO_F469NI mbed Motordriver

Fork of Configurable_Robots by Christopher Eubanks

main.cpp

Committer:
blu12758
Date:
2017-05-11
Revision:
21:ee2b617cc0e6
Parent:
10:4dd8b18e07d0

File content as of revision 21:ee2b617cc0e6:

//OU Configurable Robot Project
//Spring 2017

#include "mbed.h"
#include "RobotController.h"

int main()
{
    //Initialize variables
    RobotController* controller = new RobotController();
    
    //Initialize the robot hardware
    controller->model->init();
    
    //Initialize the robot screen
    controller->view->init();
    controller->main();
    
    while(1)
    {
        //check for user selections and react accordingly
        controller->listen();
        controller->update();
        wait_ms(5);
    }
}