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:
- 4:1be0f6c6ceae
- Parent:
- 2:45da48fab346
- Child:
- 5:56a5fdd373c9
--- a/Actuators/Arms/Arm.h Mon Apr 01 15:33:48 2013 +0000
+++ b/Actuators/Arms/Arm.h Wed Apr 03 17:54:53 2013 +0000
@@ -11,7 +11,12 @@
bool updirn;
public:
- Arm(PinName yellow, bool upflip = false, float range = 0.0005, float degrees = 45.0) : Servo(yellow) {
+ Arm ( PinName yellowPWM
+ , bool upflip = false
+ , float range = 0.0005, float degrees = 45.0
+ )
+ : Servo(yellowPWM)
+ {
calibrate(range, degrees);
updirn = upflip;
}