1#ifndef ABSOLUTE_ENCODER_H
2#define ABSOLUTE_ENCODER_H
Definition ams_as5048b.h:106
Class used as a wrapper for the ams_as5048b library to read data from the absolute encoder.
Definition AbsoluteEncoder.h:13
void setZero()
Sets the encoder current position to zero.
Definition AbsoluteEncoder.cpp:24
float readAngle()
Reads the current measured angle.
Definition AbsoluteEncoder.cpp:34
void begin()
Start the encoder at zero with the default direction.
Definition AbsoluteEncoder.cpp:13
void update()
Updates the computations to keep the angle estimation correct.
Definition AbsoluteEncoder.cpp:45