4 errors
Dependencies: KS0108_PCF8574 mbed
Diff: menbed/menbedButtonHandlerTimespec.cpp
- Revision:
- 3:ec80bb6ff5da
- Parent:
- 0:936f1c020120
diff -r 66e4ebaba5df -r ec80bb6ff5da menbed/menbedButtonHandlerTimespec.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/menbed/menbedButtonHandlerTimespec.cpp Tue Sep 11 10:21:10 2012 +0000 @@ -0,0 +1,20 @@ +#include "mbed.h" +#include "include/menbedButtonHandlerTimespec.h" + +MenbedButtonHandlerTimespec::MenbedButtonHandlerTimespec () : + scanPeriod_us(10000), debounceDelay_us(45000), + longReleaseDelay_us(2500000), typematicPeriod_us(333000), + typematicX10Delay_us(2997000), typematicX10Period_us(33000) +{} + +MenbedButtonHandlerTimespec::MenbedButtonHandlerTimespec ( + uint32_t scanPeriod_us, + uint32_t debounceDelay_us, + uint32_t longReleaseDelay_us, uint32_t typematicPeriod_us, + uint32_t typematicX10Delay_us, uint32_t typematicX10Period_us) : + scanPeriod_us(scanPeriod_us), debounceDelay_us(debounceDelay_us), + longReleaseDelay_us(longReleaseDelay_us), + typematicPeriod_us(typematicPeriod_us), + typematicX10Delay_us(typematicX10Delay_us), + typematicX10Period_us(typematicX10Period_us) +{} \ No newline at end of file