simplefoc / Arduino-FOC

Arduino FOC for BLDC and Stepper motors - Arduino Based Field Oriented Control Algorithm Library
https://docs.simplefoc.com
MIT License
1.94k stars 510 forks source link

Add missing implementation for MagneticSensorI2C::AS5600 #389

Closed ystradmann closed 2 months ago

ystradmann commented 3 months ago

The current declaration of MagneticSensorI2C already has a public static member AS5600(), which is however lacking an implementation. This change adds the (trivial) implementation.

askuric commented 2 months ago

Thanks, this discrepancy is in the code for a loong time :D LGTM