![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This is some awesome robot code
Dependencies: mbed-rtos mbed QEI
Fork of ICRSEurobot13 by
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; }