Skip to content

Add QDEC module#188

Merged
jonas-schievink merged 10 commits intonrf-rs:masterfrom
kalkyl:qdec
Aug 12, 2020
Merged

Add QDEC module#188
jonas-schievink merged 10 commits intonrf-rs:masterfrom
kalkyl:qdec

Conversation

@kalkyl
Copy link
Copy Markdown
Contributor

@kalkyl kalkyl commented Jul 29, 2020

Added a HAL module for the quadrature decoder peripheral.
Tested on NRF52840-DK with a Bourns PEC11R-4215F-S0024 rotary encoder

Demo of usage with rotary encoder triggering interrupt (nRF52840):
https://github.com/kalkyl/nrf-hal/blob/qdec/examples/qdec-demo/src/main.rs

Copy link
Copy Markdown
Contributor

@jonas-schievink jonas-schievink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

Comment thread nrf-hal-common/src/qdec.rs Outdated
Comment thread nrf-hal-common/src/qdec.rs Outdated
Comment thread nrf-hal-common/src/qdec.rs
@kalkyl
Copy link
Copy Markdown
Contributor Author

kalkyl commented Jul 30, 2020

Yes great, thanks for your comments @jonas-schievink !

@jonas-schievink jonas-schievink merged commit 7ac996f into nrf-rs:master Aug 12, 2020
@kalkyl kalkyl deleted the qdec branch September 4, 2020 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants