Example for the Arduino's AS5048 library of @ZoetropeLabs See the comments in the .ino file to know how to use it.