#include <AH/Settings/NamespaceSettings.hpp>
#include <AH/Settings/Warnings.hpp>
#include <AH/Arduino-Wrapper.h>
#include <AH/Containers/Array.hpp>
#include <AH/STL/limits>
#include <AH/STL/type_traits>
Go to the source code of this file.
|
static constexpr int8_t | RegisterEncodersLUT [16] |
| Lookup table that maps rotary encoder (2-bit gray code) state changes to position deltas. More...
|
|
◆ RegisterEncodersLUT
constexpr int8_t RegisterEncodersLUT[16] |
|
staticconstexpr |
Initial value:= {
0,
+1,
-1,
+2,
-1,
0,
-2,
+1,
+1,
-2,
0,
-1,
+2,
-1,
+1,
0,
}
Lookup table that maps rotary encoder (2-bit gray code) state changes to position deltas.
Definition at line 20 of file RegisterEncoders.hpp.