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: Devices/Motor.cpp
- Revision:
- 5:e36e0538a903
- Parent:
- 4:86d0d04cc055
- Child:
- 6:d1594fd2ec5a
diff -r 86d0d04cc055 -r e36e0538a903 Devices/Motor.cpp
--- a/Devices/Motor.cpp Fri Sep 19 01:54:00 2014 +0000
+++ b/Devices/Motor.cpp Tue Sep 23 18:24:19 2014 +0000
@@ -4,7 +4,7 @@
//#include "BridgeDriver.h"
//Constructor
-Motor::Motor(Line lineData){
+Motor::Motor(LineData lineData){
/*
//Order of Line: Command, Local_Name, VOLTAGE_DRIVER, Channel(1,2,3,4,5,6,7,8)
if (lineData.numWords != 4){
@@ -34,7 +34,7 @@
}
//A line consists of [ __(Local_Name)__ __(function)__ __(parameter1)__ __(parameter2)__ __(parameter3)__ ... and so on]
-int Motor::interpret(Line &lineData){
+int Motor::interpret(LineData &lineData){
/*
lcd.setAddress(0,2);
lcd.printf("CHECK Motor 123456");