Commit Graph
14 Commits
Author SHA1 Message Date
NoobTracker 8b78c3127c Added setInvert() for inverting readCurrentState()
You can invert the button so that you can use rose () and fell () with INPUT_PULLUP on a pin like with INPUT.
2020-04-24 19:50:05 +02: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