ICRS Eurobot 2013
Dependencies: mbed mbed-rtos Servo QEI
Diff: Others/EmergencyStop/EmergencyStop.h
- Revision:
- 3:717de74f6ebd
- Parent:
- 2:45da48fab346
diff -r 45da48fab346 -r 717de74f6ebd Others/EmergencyStop/EmergencyStop.h --- a/Others/EmergencyStop/EmergencyStop.h Fri Mar 29 20:09:21 2013 +0000 +++ b/Others/EmergencyStop/EmergencyStop.h Mon Apr 01 15:33:48 2013 +0000 @@ -7,11 +7,11 @@ class EmergencyStop : public InterruptIn{ private: public: - EmergencyStop ( PinName pin + EmergencyStop ( PinName interuptPin , void (*risefunction)(void) = Actuator::haltandCatchFire , void (*fallfunction)(void) = Actuator::haltandCatchFire ) - : InterruptIn(pin) + : InterruptIn(interuptPin) { if (risefunction != NULL){ rise(risefunction);