Component Test's Software to work with "Universal Controller Box" - Software is an interpreter or "compiler" for programs to be done with a .txt file and read off of the SD Card
Dependencies: BridgeDriver FrontPanelButtons MCP23017 SDFileSystem TextLCD mbed
Diff: Initialization.cpp
- Revision:
- 5:e36e0538a903
- Parent:
- 4:86d0d04cc055
- Child:
- 6:d1594fd2ec5a
diff -r 86d0d04cc055 -r e36e0538a903 Initialization.cpp --- a/Initialization.cpp Fri Sep 19 01:54:00 2014 +0000 +++ b/Initialization.cpp Tue Sep 23 18:24:19 2014 +0000 @@ -15,7 +15,7 @@ const string DeviceNames[] = {"MOTOR", "VOLTAGE_DRIVER", "PIN_IN"}; // ADD YOUR DEVICE TO THE LIST BELOW, CALLING YOUR DEVICE CLASS AS SHOWN -Device* Device::newDevice(int deviceFound, string _name, Line lineData){ +Device* Device::newDevice(int deviceFound, string _name, LineData lineData){ switch (Device_Map[deviceFound]){ case MOTOR: return new Motor(lineData); break;