Lucas Borges
/
MenuLCD_Copy
this locks like shit
Fork of MenuLCD_copy by
Diff: menbed/menbedButtonHandlerTimespec.cpp
- Revision:
- 0:92357d1220f3
diff -r 000000000000 -r 92357d1220f3 menbed/menbedButtonHandlerTimespec.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/menbed/menbedButtonHandlerTimespec.cpp Fri May 19 13:07:52 2017 +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