-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix race condition causing lost events #9
Open
soligen2010
wants to merge
35
commits into
0xPIT:master
Choose a base branch
from
soligen2010:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 24 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
625b9a3
Fix race condition causing lost events
soligen2010 97dd97e
Fix bug when double click disabled
soligen2010 3831274
accelerationEnabled
soligen2010 e08e7fa
Added method to enable/disable the button hold/release events
soligen2010 9937dd4
Adjusted double click time
soligen2010 9798ec8
Allow multiple instances of object to co-exist
soligen2010 5b63c46
Fixed "FLAKY" mode
soligen2010 3546f7a
Added ability to use button without encoder and allow pin 0 to be used
soligen2010 14e6607
Added example showing how to use 2 devices simultaneously
soligen2010 f60058c
Restored original behavior for button on pin 0, but can now optionall…
soligen2010 d9e6f8a
Added support for ESP8266 and example
soligen2010 97fd7e5
Filter out transient events on the button
soligen2010 4124fc6
@PlatformIO Library Registry manifest file
valeros 2ea30f4
Merge pull request #1 from valeros/patch-2
soligen2010 2ad751f
Change conditional on AVR included
soligen2010 c471bc1
Revert "Change conditional on AVR included"
soligen2010 98982a5
Revert "Revert "Change conditional on AVR included""
soligen2010 a351ccb
Change cli and sei to noInterrupts and interrupts
soligen2010 b1ee276
Added methods to customize double click and hold/release times for bu…
soligen2010 9efede6
Added ability to have multiple buttons on one analog pin/Button race …
soligen2010 4dacba3
moved interupts() in getValue to be sure no race condition happens
soligen2010 dba405b
Steps Per Notch default changes to 4
soligen2010 e2cf703
Fixed ambiguous constructor. Analog buttons are now a seperate object
soligen2010 e30f7ac
Changed TwoDevices example to use DigitalButton
soligen2010 31ca2f7
Corrected IF statement to check both pinA and pinB
soligen2010 16505d9
Support for STM23duino
soligen2010 f376418
Fix Typo
soligen2010 4b3b30b
Fix for Due
soligen2010 9337a0c
Another way to access the clickEncoder class (#9)
aster94 9d0d226
Update ESP8266Example.ino
soligen2010 2081c04
CCW Negative Bit Fix
soligen2010 7d11d48
Reset Encoder Method; Improved Timing
soligen2010 0de753b
Add library.properties and update folder structure for Arduino librar…
robaol 58a6c82
ESP32 Fix
soligen2010 6c41ff6
improved ESP32 fix
soligen2010 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why double check pinA? Do you mean pinA and pinB instead?