-
Notifications
You must be signed in to change notification settings - Fork 261
EEPROM Address Lookup
Lucas LucidVR edited this page Jul 16, 2023
·
3 revisions
These are the addresses in "EEPROM" that are used for different functions in LucidGloves firmware.
Note: The ESP32 doesn't actually have EEPROM, so the EEPROM library emulates it's existence using the onboard flash. The addresses here will not directly reflect the addresses in that flash storage.
Address | Description |
---|---|
0x00.0 | Clamping saved limits (0 or 1) |
0x00.1 | Saved intermediate values (0 or 1) |
0x00.2 - 0x00.7 | Reserved |
0x01 - 0x04 | Max travel of thumb for flexion (4-byte integer) |
0x05 - 0x08 | Max travel of index finger for flexion (4-byte integer) |
0x09 - 0x0C | Max travel of middle finger for flexion (4-byte integer) |
0x0D - 0x10 | Max travel of ring finger for flexion (4-byte integer) |
0x11 - 0x14 | Max travel of pinky finger for flexion (4-byte integer) |
0x15 - 0x18 | Max travel of thumb for splay (4-byte integer) |
0x19 - 0x1C | Max travel of index finger for splay (4-byte integer) |
0x1D - 0x20 | Max travel of middle finger for splay (4-byte integer) |
0x21 - 0x24 | Max travel of ring finger for splay (4-byte integer) |
0x25 - 0x28 | Max travel of pinky finger for splay (4-byte integer) |
0x29 - 0x2C | Max sin for thumb (4-byte integer) |
0x2D - 0x30 | Min sin for thumb (4-byte integer) |
0x31 - 0x34 | Max cos for thumb (4-byte integer) |
0x35 - 0x38 | Min cos for thumb (4-byte integer) |
0x39 - 0x3C | Max sin for index finger (4-byte integer) |
0x3D - 0x40 | Min sin for index finger (4-byte integer) |
0x41 - 0x44 | Max cos for index finger (4-byte integer) |
0x45 - 0x48 | Min cos for index finger (4-byte integer) |
0x49 - 0x4C | Max sin for middle finger (4-byte integer) |
0x4D - 0x50 | Min sin for middle finger (4-byte integer) |
0x51 - 0x54 | Max cos for middle finger (4-byte integer) |
0x55 - 0x58 | Min cos for middle finger (4-byte integer) |
0x59 - 0x5C | Max sin for ring finger (4-byte integer) |
0x5D - 0x60 | Min sin for ring finger (4-byte integer) |
0x61 - 0x64 | Max cos for ring finger (4-byte integer) |
0x65 - 0x68 | Min cos for ring finger (4-byte integer) |
0x69 - 0x6C | Max sin for pinky finger (4-byte integer) |
0x6D - 0x70 | Min sin for pinky finger (4-byte integer) |
0x71 - 0x74 | Max cos for pinky finger (4-byte integer) |
0x75 - 0x78 | Min cos for pinky finger (4-byte integer) |