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: mbed-rtos mbed QEI
Diff: Actuators/Arms/Arm.h
- Revision:
- 5:56a5fdd373c9
- Parent:
- 4:1be0f6c6ceae
- Child:
- 65:4709ff6c753c
--- a/Actuators/Arms/Arm.h Wed Apr 03 17:54:53 2013 +0000
+++ b/Actuators/Arms/Arm.h Thu Apr 04 14:44:14 2013 +0000
@@ -3,9 +3,8 @@
#include "mbed.h"
#include "Servo.h"
-#include "Actuators/Actuator.h"
-class Arm : public Servo, public Actuator
+class Arm : public Servo
{
private:
bool updirn;
@@ -34,8 +33,8 @@
}
virtual void halt() { // servo applies no force
- DigitalOut myled(LED3);
- myled = 1;
+ //DigitalOut myled(LED3);
+ //myled = 1;
_pwm = 0;
}
};