Commit Graph
10 Commits
Author SHA1 Message Date
Albert Phan 71fc371bf8 Merge remote-tracking branch 'refs/remotes/thomasfredericks/master' 2017-01-07 14:03:20 -08:00
Albert Phan 2977f97058 Fixed bug with update constantly calling attach(pin)
This caused people to use retrigger() to have it constantly return a 1
when using active low buttons.
2017-01-07 13:58:41 -08: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
Albert Phan c5e009cc0d Removed unnecessary return 2015-03-28 15:01:22 -07:00
Albert Phan 05f2d42577 Fixed retrigger()
Function wasn't properly returning a false when held() was low.
2015-03-27 19:02:14 -07:00
Albert Phan 06e5982b3c Small change I forgot 2015-03-27 16:23:22 -07:00
Albert Phan de9fb2d9c0 update() calls attach() on first run
attach() is now called the first time update() is run so the pin setup
is before attach(). I also removed previous_millis_retrigger to save 4
bytes. Also updated retrigger.ino example with a few more comments.
2015-03-27 10:16:17 -07:00
Albert Phan d75d7d0bba Many updates including held() and retrigger()
Updated Constructors to do all the pin() and interval() setups. All the
setup can now be done in one step when instantiating the object. Added
held() and retrigger(). See examples. Updated other examples to use the
new constructor.
2015-03-26 17:34:10 -07:00
thomasfredericks 987d751bfa Changed folder structure as requested 2015-01-06 12:22:41 -05:00