Lucas Borges
/
MenuLCD_Copy
this locks like shit
Fork of MenuLCD_copy by
menbed/menbedButtonHandlerTimespec.cpp@0:92357d1220f3, 2017-05-19 (annotated)
- Committer:
- ViniR
- Date:
- Fri May 19 13:07:52 2017 +0000
- Revision:
- 0:92357d1220f3
Ent?o PARA...
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ViniR | 0:92357d1220f3 | 1 | #include "mbed.h" |
ViniR | 0:92357d1220f3 | 2 | #include "include/menbedButtonHandlerTimespec.h" |
ViniR | 0:92357d1220f3 | 3 | |
ViniR | 0:92357d1220f3 | 4 | MenbedButtonHandlerTimespec::MenbedButtonHandlerTimespec () : |
ViniR | 0:92357d1220f3 | 5 | scanPeriod_us(10000), debounceDelay_us(45000), |
ViniR | 0:92357d1220f3 | 6 | longReleaseDelay_us(2500000), typematicPeriod_us(333000), |
ViniR | 0:92357d1220f3 | 7 | typematicX10Delay_us(2997000), typematicX10Period_us(33000) |
ViniR | 0:92357d1220f3 | 8 | {} |
ViniR | 0:92357d1220f3 | 9 | |
ViniR | 0:92357d1220f3 | 10 | MenbedButtonHandlerTimespec::MenbedButtonHandlerTimespec ( |
ViniR | 0:92357d1220f3 | 11 | uint32_t scanPeriod_us, |
ViniR | 0:92357d1220f3 | 12 | uint32_t debounceDelay_us, |
ViniR | 0:92357d1220f3 | 13 | uint32_t longReleaseDelay_us, uint32_t typematicPeriod_us, |
ViniR | 0:92357d1220f3 | 14 | uint32_t typematicX10Delay_us, uint32_t typematicX10Period_us) : |
ViniR | 0:92357d1220f3 | 15 | scanPeriod_us(scanPeriod_us), debounceDelay_us(debounceDelay_us), |
ViniR | 0:92357d1220f3 | 16 | longReleaseDelay_us(longReleaseDelay_us), |
ViniR | 0:92357d1220f3 | 17 | typematicPeriod_us(typematicPeriod_us), |
ViniR | 0:92357d1220f3 | 18 | typematicX10Delay_us(typematicX10Delay_us), |
ViniR | 0:92357d1220f3 | 19 | typematicX10Period_us(typematicX10Period_us) |
ViniR | 0:92357d1220f3 | 20 | {} |