A simple SPI library to interface with Austria Microsystem's AS5048A angle sensor with an Arduino.
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.
The angle sensor is described in more detail here