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

Reading Reference Switch Input for TMC5072 #81

Open
antonyjohne opened this issue Dec 14, 2022 · 0 comments
Open

Reading Reference Switch Input for TMC5072 #81

antonyjohne opened this issue Dec 14, 2022 · 0 comments

Comments

@antonyjohne
Copy link

Hello!

I'm currently using Pytrinamic with TMC5072 EVAL for controlling my motor. However, I'm having a hard time configuring the code to read a switch input on the REF/L1 pin of my module. The L1 input pin also seem to be providing 5V output when measured with a multimeter (I'm assuming because of an internal pull-up resistor). How should I configure the code to accept stop-switch inputs on the L1 pin and continually motor the pin to stop the motor when the switch is pressed?

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

1 participant