abc
Dependents: Microwave_MBED MicrowaveSimulation_LPC1768 RTOS_Alarm_Clock USB_Project_Host ... more
Diff: DebouncedInterrupt.h
- Revision:
- 16:7eaa188de0f9
- Parent:
- 15:948e85b22efe
- Child:
- 17:96a51b236ba0
--- a/DebouncedInterrupt.h Tue Feb 18 20:18:12 2014 +0000 +++ b/DebouncedInterrupt.h Tue Feb 18 20:22:31 2014 +0000 @@ -52,7 +52,7 @@ ~DebouncedInterrupt(); // Start monitoring the interupt and attach a callback - void attach(void (*fptr)(void), const interruptTrigger& trigger, const uint32_t& debounce_ms=10); + void attach(void (*fptr)(void), const interruptTrigger& trigger=INT_FALL, const uint32_t& debounce_ms=10); // Stop monitoring the interrupt void reset();