tripipy
tripipy copied to clipboard
Q: Two motors
Hi,
I have working "Pi HAT" now - both drivers are working perfectly on RPi4 . As I'm not very strong in python .... yet ;-) I'm not sure what is the best approach to have two channels working on this same time. It's possible to pass parameters to chipdrive.tmc5130 constructor? I mean something like this
motorpan=chipdrive.tmc5130(drvenpin=12, spiChannel=1) motortilt=chipdrive.tmc5130(drvenpin=24, spiChannel=0)
Thanks for your indulgence.
Slawek