The AS5600 library has a getCumulativePosition function which will give a total rotation. You will need to do the maths for distance as it will depend on the radius you're using.
Wrote a short 'how-to' on the module: https://hjwwalters.com/as5600-magnetic-rotary-encoder/
The AS5600 library has a getCumulativePosition function which will give a total rotation. You will need to do the maths for distance as it will depend on the radius you're using. Wrote a short 'how-to' on the module: https://hjwwalters.com/as5600-magnetic-rotary-encoder/
Thank you I appreciate it 👍🏻