A simple SPI library to interface with Austria Microsystem's AS5048A angle sensor with an Arduino or an ESP32.
The sensor should be connected to the hardware SPI pins (MISO, MOSI, SCK). The CS pin can be connected to any GPIO pin but should be passed to the constructor.
Original author: ZoetropeLabs