128 Commits
Author SHA1 Message Date
Thomas O Fredericks f87ba5ba9f Update library.properties v2.57 2021-03-04 15:53:16 -05:00
Thomas O Fredericks 246096ae96 Update library.json 2021-03-04 15:53:02 -05:00
Thomas O Fredericks 1ce882f949 Merge pull request #78 from DanForever/master
Made the bounce2 library const correct
2021-03-04 15:49:53 -05:00
Dan Neve a132f4ab43 Made the bounce2 library const correct 2021-03-04 19:14:11 +01:00
Thomas O Fredericks e89801c2dd Merge pull request #77 from michaelcress/master
Correcting spelling error in README file
2021-03-04 00:18:06 -05:00
Michael Cress 744a957b76 Correcting spelling error 2021-03-03 05:59:07 -05:00
Thomas O Fredericks cd87a100be Delete Bounce2NameSpace.h 2021-01-29 18:45:51 -05:00
Thomas O Fredericks 6f244834a4 Merge pull request #74 from mkfrey/master
Add a component.mk file to allow using this project as a component of esp-idf (< 4.0).
v2.56
2021-01-29 13:21:46 -05:00
Thomas O Fredericks 5a481c6922 Moving Button to Bounce2 namespace 2021-01-23 18:05:58 -05:00
Markus Frey 4207a8dd17 Add component.mk 2021-01-19 17:35:14 +01:00
Thomas O Fredericks eb5ab9fad8 Update README.md v2.55 2020-09-29 10:33:17 -04:00
Thomas O Fredericks c445bbc7a7 Update README.md 2020-09-29 10:32:59 -04:00
Thomas O Fredericks c012c6c042 Merge pull request #67 from jamesmyatt/better_button
Methods to determine whether Button is currently pressed
2020-09-03 09:28:58 -04:00
James Myatt 83bc18e245 Revert "Reuse state attribute for pressed state"
This reverts commit 9babb4fc38.
2020-08-26 13:53:35 +01:00
Thomas O Fredericks 3a88a924f2 Fixed more "sloppy programming" 2020-08-25 14:24:38 -04:00
Thomas O Fredericks fd99238112 Fixed "sloppy programming" in main examples 2020-08-25 14:23:11 -04: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 59d3c66c56 Removed Todo 2020-08-08 10:57:24 -04: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 172e3e0835 Merge pull request #63 from thomasfredericks/Button
Button
2020-08-06 17:42:30 -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 2b6be81dc1 Updated docs and version number 2020-05-21 16:03:08 -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
Thomas O Fredericks cf32eda85e v2.53 v2.53 2020-02-26 14:42:35 -05:00
Thomas O Fredericks a57ba4c66a Update library.properties 2020-02-26 14:41:36 -05:00
Thomas O Fredericks 85d80fe400 Merge pull request #58 from fpistm/patch-1
Generic Arduino_STM32 support
2020-02-20 18:48:35 -05: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
Thomas O Fredericks 9335056c46 Merge pull request #57 from dwrobel/dw-fix-compilation-error
Fix compilation error
2019-11-26 08:08:29 -05: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 de69c15225 Merge pull request #55 from thomasfredericks/Testing
Added a changed() function
2019-11-07 09:30:31 -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
Thomas O Fredericks 3e4738b4ef Added Bounce2 as a KEYWORD1 2019-05-23 10:47:16 -04:00
Thomas O Fredericks 3706e16e4b Merge pull request #50 from trapper-/master
Fix extraneous @return in function comment
2019-02-06 19:22:17 -05: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 d3ef0365eb Version 2.52 V2.52 2018-08-03 15:18:51 -04:00
Thomas O Fredericks f5203d0fb8 Merge pull request #48 from per1234/keywords-separator
Remove leading space from keywords.txt identifier
2018-08-03 15:14:50 -04:00
per1234 c2e3cd5a2d Remove leading space from keywords.txt identifier
Each field of keywords.txt is separated by a single true tab. Leading spaces on a keyword identifier causes it to not be recognized by the Arduino IDE. On Arduino IDE 1.6.5 and newer an unrecognized keyword identifier causes the default editor.function.style highlighting to be used (as with KEYWORD2, KEYWORD3).

Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
2018-08-03 10:20:43 -07:00
Thomas O Fredericks 32c1c48b26 Moved documentation and fixed version number v2.51 2018-07-19 08:38:38 -04:00
Thomas O Fredericks 5a132024fc Updating version to 2.5 V2.5 2018-07-18 12:45:54 -04:00
Thomas O Fredericks cbe0b980b7 Updaing documentation 2018-07-18 12:44:12 -04:00
Thomas O Fredericks a1c83e9d7d Updating documentation 2018-07-18 12:34:50 -04:00
Thomas O Fredericks f19d27689f Updating documentation 2018-07-18 12:24:20 -04:00