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
Diff: Device.cpp
- Revision:
- 0:22618cf06f45
- Child:
- 2:3e7baa3e3fec
diff -r 000000000000 -r 22618cf06f45 Device.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Device.cpp Tue Sep 16 15:28:59 2014 +0000
@@ -0,0 +1,15 @@
+/*#include "Device.hpp"
+#include "Motor.hpp"
+#include "VoltageDriver.hpp"
+
+Device* Device::newDevice(int deviceFound){
+
+ if(MOTOR)
+ return new Motor();
+ else if(VOLTAGE_DRIVER)
+ return new VoltageDriver();
+
+}
+
+ */
+
\ No newline at end of file