Skip to content

Feature request: Add IO.VIN enum member to read the voltage #104

@BenediktBurger

Description

@BenediktBurger

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:

  1. add a get_voltage method (which does the correct calculation to return the voltage in Volts)
  2. add a VIN enum member to the IO enum of the motor cards, see my PR Add VIN to IO enum of TMCM6110 #103 for one motor card.

Thanks for considering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions