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
main.cpp@6:8232db1ed208, 2017-02-07 (annotated)
- Committer:
- blu12758
- Date:
- Tue Feb 07 20:44:52 2017 +0000
- Revision:
- 6:8232db1ed208
- Parent:
- 3:2c0def8b9b22
- Child:
- 7:0f8c3dfbbb86
MVC update
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
blu12758 | 3:2c0def8b9b22 | 1 | //OU Configurable Robot Project |
blu12758 | 3:2c0def8b9b22 | 2 | //Spring 2017 |
blu12758 | 3:2c0def8b9b22 | 3 | |
blu12758 | 6:8232db1ed208 | 4 | #include "mbed.h" |
blu12758 | 6:8232db1ed208 | 5 | #include "RobotController.h" |
blu12758 | 6:8232db1ed208 | 6 | |
blu12758 | 6:8232db1ed208 | 7 | int main() |
blu12758 | 6:8232db1ed208 | 8 | { |
blu12758 | 6:8232db1ed208 | 9 | //Initialize variables |
blu12758 | 6:8232db1ed208 | 10 | controller = new RobotController(); |
blu12758 | 6:8232db1ed208 | 11 | view = new RobotView(); |
blu12758 | 6:8232db1ed208 | 12 | model = new RobotModel(); |
blu12758 | 6:8232db1ed208 | 13 | |
blu12758 | 6:8232db1ed208 | 14 | while(1) |
blu12758 | 6:8232db1ed208 | 15 | { |
blu12758 | 6:8232db1ed208 | 16 | //check for user selections and react accordingly |
blu12758 | 6:8232db1ed208 | 17 | } |
blu12758 | 6:8232db1ed208 | 18 | } |