You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It could actually be both, I accepted you PR, but the get_voltage would come in handy as well.
Note that the added VIN is not in the released PyTrinamic on PyPI, till we create a new release.
I understand, that it will take some time till the next release.
However, I did not do it for immediate change ("8" will work as well), but for a better library.
It would be good to read the voltage of the motor cards.
I found, that it is possible to read that voltage via
get_analog_input
, if you know the correct pin number.I see two possible options:
get_voltage
method (which does the correct calculation to return the voltage in Volts)VIN
enum member to theIO
enum of the motor cards, see my PR Add VIN to IO enum of TMCM6110 #103 for one motor card.Thanks for considering.
The text was updated successfully, but these errors were encountered: