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

Encoder direction #23

Open
bretdennison opened this issue May 15, 2022 · 1 comment
Open

Encoder direction #23

bretdennison opened this issue May 15, 2022 · 1 comment

Comments

@bretdennison
Copy link

Is there a way to reverse the encoder direction?
Thanks

@ctag-fh-kiel
Copy link
Owner

You would have to build your own firmware. If you configure the project with idf.py menuconfig, there is a configuration option to invert the encoder.
If you clone the repository on Github, you can use the Github action to build the firmware in the cloud. However, before doing that you would have to manually edit the sdkconfig.default file and comment out line 125 (CONFIG_SWAP_ENCODER_PINS=y). That would be the equivalent of doing it with idf.py menuconfig.

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

No branches or pull requests

2 participants