Repository navigation
Conversation
- Count clicks only for debounced presses; glitches no longer register. - Debounce the release edge so bounces do not split clicks or holds. - Reset counters at the start of each streak. - Add PinWrapper::try_is_high so pin read errors are skipped. - Use performance.now() for the wasm Instant. - Add deterministic simulated-clock tests. - Fix examples: faster atomic timer (stm32), Ticker polling (embassy), window-level pointer release (wasm). - Update all dependencies, including stm32f1xx-hal 0.11 and embassy-stm32 0.6. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes bugs in the button state machine and the examples, and updates all dependencies.
PinWrapper::try_is_high, so pin read errors are skipped instead of read as presses. The wasmInstantnow usesperformance.now().Ticker, and wasm catches the release anywhere on the page.stm32f1xx-hal0.11 andembassy-stm320.6.Behavior change:
raw_clicks()no longer includes the press still in progress, and counters reset per streak withoutreset(). A 0.3 version bump may be appropriate.Tested with the library tests and clippy. The examples compile and link, but have not been run on hardware or in a browser.
🤖 Generated with Claude Code