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?
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?