This component should provide a simple way to read the angle from the MT6701.
Note that this sensor is already provided by the ESPP library thus special care should be taken for the design.
One option is to provide a basic interface realized by the motor class, which could be passed to the UI component.
Another is to implement a separate, ESPP compatible sensor class which maybe wraps the existing ESPP code which we could then pass on separately to the UI and Motor component.
Or something, I'm sure better options emerge when work is started on this.
This component should provide a simple way to read the angle from the MT6701.
Note that this sensor is already provided by the ESPP library thus special care should be taken for the design.
One option is to provide a basic interface realized by the motor class, which could be passed to the UI component. Another is to implement a separate, ESPP compatible sensor class which maybe wraps the existing ESPP code which we could then pass on separately to the UI and Motor component.
Or something, I'm sure better options emerge when work is started on this.