14-bit rotary position sensor More...
#include <AS5048b.h>
Inherits I2C::Device.
Public Member Functions | |
| AS5048B (Sink< I2C::Request > &bus, bool A0, bool A1) | |
| initialize the sensor. | |
| void | measure () |
| start async read of angle | |
| void | callback (const I2C::Request &rq) override |
| callback. | |
| double | get () |
| Returns the angle in radians. | |
| void | reset () |
| Resets the angles. | |
14-bit rotary position sensor
|
inline |
initialize the sensor.
A0 & A1 change its I2C address, see datasheet for details
|
inlineoverridevirtual |