8 Commits
Author SHA1 Message Date
Thomas O Fredericks 7091ec8bf9 Fixed a missing include for Platform.io 2018-02-06 09:46:54 -05:00
Michał Rybicki 80d29125d6 Made "pinMode" method extendable 2018-02-04 17:03:57 +01:00
Thomas O Fredericks 391f7aaf7f Cleaned up the bit operators and made the class extendable 2018-01-10 12:16:27 -05:00
Christoph Tack 2d586f5b50 Blue Pill port
Signed-off-by: Christoph Tack <prog.send@gmail.com>
2017-10-29 21:26:06 +01:00
ChrisGallagher 0a30a709f0 Add compile option: BOUNCE_WITH_PROMPT_DETECTION
New compile time opiton for alternative 'prompt' debounce algorithm.
Button state changes are avaliable imideatley, so long as the previous
state has been stable for the timeout period. Otherwise the state will
be updated when the timeout period allows.

- Able to report acurate switch times normally with no delay.
- Compatable with exising usage.
- Use when prompt switch transition timing is important.
2016-04-26 15:48:26 +01:00
sseptillion 2d6327e91c Added pinMode setting to attach
Added possibility to attach the pin and auto set the pinMode. Attach and
pinMode can now be done in 1 step. just call Bounce.attach(pin,
INPUT_PULLUP) etc Fixed Header file and made all mode possible.
2015-09-08 12:29:48 +02:00
sseptillion 50b796ccfc Added pinMode setting to attach
Added possibility to attach the pin and auto set the pinMode. Attach and
pinMode can now be done in 1 step. just call Bounce.attach(pin,
INPUT_PULLUP) etc
2015-09-08 11:34:38 +02:00
thomasfredericks 987d751bfa Changed folder structure as requested 2015-01-06 12:22:41 -05:00