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
Diff: main.cpp
- Revision:
- 10:4dd8b18e07d0
- Parent:
- 8:1173b502b316
--- a/main.cpp Thu Feb 09 20:46:26 2017 +0000 +++ b/main.cpp Tue May 09 18:48:47 2017 +0000 @@ -8,16 +8,19 @@ { //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); } } \ No newline at end of file