Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: ISR_Mini-explorer_Rangefinder
Fork of ISR_Mini-explorer by
Encoder Class Reference
#include <Encoder.h>
Public Member Functions | |
| Encoder (I2C *i2c_in, Mutex *mutex_in, char invert_in) | |
| Create Encoder instance, initializing it. | |
| long int | readAbsolute () |
| Read encoder raw data (absolute value) | |
Detailed Description
Encoder class.
Manages one magnetic encoder AS5600. Reads its absolute value and performs the conversion of the value to incremental valeu.
Definition at line 10 of file Encoder.h.
Constructor & Destructor Documentation
| Encoder | ( | I2C * | i2c_in, |
| Mutex * | mutex_in, | ||
| char | invert_in | ||
| ) |
Create Encoder instance, initializing it.
Definition at line 5 of file Encoder.cpp.
Member Function Documentation
| long int readAbsolute | ( | ) |
Read encoder raw data (absolute value)
Definition at line 15 of file Encoder.cpp.
Generated on Fri Jul 15 2022 01:53:00 by
1.7.2
