Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BridgeDriver FrontPanelButtons MCP23017 SDFileSystem TextLCD mbed
Device.cpp@3:078e9a1e8be3, 2014-09-19 (annotated)
- Committer:
- mehatfie
- Date:
- Fri Sep 19 00:46:26 2014 +0000
- Revision:
- 3:078e9a1e8be3
- Parent:
- 2:3e7baa3e3fec
- Working properly for Motor, Voltage_Driver, and looping; - successful looping and program completion; - organizing for more readable and understandable code is starting
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mehatfie | 2:3e7baa3e3fec | 1 | //#include "Device.hpp" |
| mehatfie | 2:3e7baa3e3fec | 2 | //#include "Motor.hpp" |
| mehatfie | 2:3e7baa3e3fec | 3 | //#include "VoltageDriver.hpp" |
| mehatfie | 2:3e7baa3e3fec | 4 | // |
| mehatfie | 2:3e7baa3e3fec | 5 | //Device* Device::newDevice(int deviceFound){ |
| mehatfie | 2:3e7baa3e3fec | 6 | // |
| mehatfie | 2:3e7baa3e3fec | 7 | // if(MOTOR) |
| mehatfie | 2:3e7baa3e3fec | 8 | // return new Motor(); |
| mehatfie | 2:3e7baa3e3fec | 9 | // else if(VOLTAGE_DRIVER) |
| mehatfie | 2:3e7baa3e3fec | 10 | // return new VoltageDriver(); |
| mehatfie | 2:3e7baa3e3fec | 11 | // |
| mehatfie | 2:3e7baa3e3fec | 12 | //} |
| mehatfie | 2:3e7baa3e3fec | 13 | // |
| mehatfie | 2:3e7baa3e3fec | 14 | // |
| mehatfie | 2:3e7baa3e3fec | 15 | // |