Skip to content
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

Add ESP32 Hardware Encoder Class #44

Merged
merged 1 commit into from
May 22, 2024

Conversation

mcells
Copy link
Contributor

@mcells mcells commented May 19, 2024

This adds a PCNT-powered hardware encoder class for ESP32. (Should support all ESP32 variants with that peripheral)
I could not reproduce the angle dependent execution time i mentioned on Discord, meaning this code has no issues that I am aware of right now.
The step/dir mode is however untested, but I am fairly confident this works.

Cheers!

@runger1101001 runger1101001 self-assigned this May 22, 2024
@runger1101001 runger1101001 added the enhancement New feature or request label May 22, 2024
@runger1101001 runger1101001 added this to the 1.0.8 milestone May 22, 2024
@runger1101001
Copy link
Member

Thank you very much for this contribution!

@runger1101001 runger1101001 merged commit ea0b769 into simplefoc:dev May 22, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants