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

Committer:
blu12758
Date:
Wed Feb 08 20:31:20 2017 +0000
Revision:
8:1173b502b316
Parent:
6:8232db1ed208
Child:
10:4dd8b18e07d0
touchscreen working

Who changed what in which revision?

UserRevisionLine numberNew contents of line
blu12758 4:4989e85d16b6 1 //OU Configurable Robot Project
blu12758 4:4989e85d16b6 2 //Spring 2017
blu12758 5:be5e1177bb43 3 //William Bonner
blu12758 5:be5e1177bb43 4
blu12758 5:be5e1177bb43 5 #include "mbed.h"
blu12758 5:be5e1177bb43 6
blu12758 5:be5e1177bb43 7 class RobotModel
blu12758 5:be5e1177bb43 8 {
blu12758 5:be5e1177bb43 9 //Current mode of operation
blu12758 8:1173b502b316 10 //0 = await command
blu12758 5:be5e1177bb43 11 int _mode;
blu12758 5:be5e1177bb43 12
blu12758 5:be5e1177bb43 13 public:
blu12758 5:be5e1177bb43 14
blu12758 6:8232db1ed208 15 //Constructors/Destructors
blu12758 6:8232db1ed208 16 ~RobotModel();
blu12758 6:8232db1ed208 17 RobotModel();
blu12758 6:8232db1ed208 18
blu12758 6:8232db1ed208 19 //Accessors/Mutators
blu12758 5:be5e1177bb43 20 int getMode() const {return _mode;}
blu12758 5:be5e1177bb43 21 void setMode(int m){_mode = m;}
blu12758 5:be5e1177bb43 22
blu12758 5:be5e1177bb43 23 };