James Myatt
83bc18e245
Revert "Reuse state attribute for pressed state"
...
This reverts commit 9babb4fc38 .
2020-08-26 13:53:35 +01:00
James Myatt
9babb4fc38
Reuse state attribute for pressed state
2020-08-25 13:59:55 +01:00
James Myatt
878f86bf1c
Add isPressed and getPressedState methods
2020-08-25 13:54:33 +01:00
Thomas O Fredericks
08392e0f01
Removed Todo
2020-08-08 10:56:06 -04:00
Thomas O Fredericks
3ddefb4ba4
Updated documentation
2020-08-08 10:21:57 -04:00
Thomas O Fredericks
f51b22b708
Updated documentation
2020-08-06 17:37:25 -04:00
Thomas O Fredericks
1a6552ffe5
New Debouncer class split from the hardware layer
2020-08-06 13:34:56 -04:00
Thomas O Fredericks
6147a34058
Changed the default stateForPressed and fixed example
2020-05-21 15:45:52 -04:00
Thomas O Fredericks
1af864b0bd
Added a Button class
2020-05-19 14:06:37 -04:00
Frederic Pillon
14f9c5c4a6
Generic Arduino_STM32 support
...
When BluePill support have been introduced, it was not enough generic
https://github.com/thomasfredericks/Bounce2/pull/35
Board specific definition have been used instead of the generic core one:
`ARDUINO_ARCH_STM32F1`
2020-02-14 08:05:43 +01:00
Damian Wrobel
26e216c98d
Fix compilation error
...
libraries/Bounce2/src/Bounce2.h:209:10: error: extra qualification 'Bounce::' on member 'changed' [-fpermissive]
209 | bool Bounce::changed( ) { return getStateFlag(CHANGED_STATE); }
| ^~~~~~
Regression introduced in 01e6fc9398
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl >
2019-11-25 14:42:05 +01:00
Thomas O Fredericks
6228e09451
Moved literals to header as suggested by MartinNel
2019-11-21 22:09:13 -05:00
Thomas O Fredericks
51032991ac
Update Bounce2.h
2019-11-07 09:33:43 -05:00
Thomas O Fredericks
220a287467
Made changed() public instead of protected
2019-10-06 13:01:12 -04:00
Thomas O Fredericks
01e6fc9398
Added a protected changed() function
2019-10-05 16:14:33 -04:00
trapper-
9a275c4f96
Update Bounce2.h
...
Fix extraneous @return line in function comment
2019-02-06 14:30:05 +08:00
Thomas O Fredericks
d422d7c054
Added previous duration
2018-09-11 10:09:57 -04:00
Thomas O Fredericks
cbe0b980b7
Updaing documentation
2018-07-18 12:44:12 -04:00
Thomas O Fredericks
045183b598
Updating documentation
2018-07-18 12:09:10 -04:00
Thomas O Fredericks
527524112d
Added Doxygon type documentation
2018-07-16 17:05:53 -04:00
Thomas O Fredericks
99e9334994
Added duration()
2018-07-16 16:37:41 -04:00
T81
b061fcf83e
Folder structure according Arduino IDE 1.5 Library specification
2018-05-22 15:48:01 +03:00