/libas

Library for the AS5145 and similar devices for Arduino

Primary LanguageC++

libas

Library for the AS5145 and similar devices for Arduino

Usage

The library can be initialised using the default constructor

libas tracker(ClockPin, DataPin, ChipSelectPin);

Data can be read from the device using

int position = tracker->GetPosition();

which will fetch and return the current position