Interface to the "tweak values" stored in EEPROM.
More...
#include <stdint.h>
Go to the source code of this file.
Macros |
#define | EE_ADDR_LEFT_BASE 0x50 |
#define | EE_ADDR_RIGHT_BASE 0x51 |
#define | EE_ADDR_SLOPE_COEF 0x52 |
#define | EE_ADDR_OFF_COEF 0x54 |
#define | EE_ADDR_DAMP_COEF 0x56 |
#define | EE_ADDR_LINE_X_CENTER 0x57 |
#define | EE_ADDR_TURN_POINT 0x58 |
#define | EE_ADDR_TURN_SUBTRACT 0x59 |
#define | EE_ADDR_PAN_OFFSET 0x5A |
#define | EE_ADDR_TILT_OFFSET 0x5B |
#define | EE_ADDR_TRACTOR_OVERSHOOT_DELAY 0x5C |
#define | EE_ADDR_TEST_MODE 0x5E |
#define | EE_ADDR_TEMP_TWEAK1 0x5F |
#define | EE_ADDR_TEMP_TWEAK2 0x60 |
#define | EE_ADDR_TEMP_TWEAK3 0x61 |
#define | EE_ADDR_TEMP_TWEAK4 0x63 |
#define | BASE_MIN 0x60 |
#define | BASE_MAX 0xFF |
#define | BALL_CHECK_RATIO 16 |
#define | PICK_UP_POINT 0x16 |
Functions |
void | loadTweakValues (void) |
void | storeTweakValues (void) |
Variables |
uint8_t | l_base |
uint8_t | r_base |
uint16_t | slopeCoef |
uint16_t | offCoef |
uint8_t | dampCoef |
uint8_t | lineCenter |
uint8_t | turnPoint |
uint8_t | turnSubtract |
int8_t | panOffset |
int8_t | tiltOffset |
uint16_t | tractorOvershootDelay |
uint8_t | tempTweak1 |
int8_t | tempTweak2 |
uint16_t | tempTweak3 |
uint16_t | tempTweak4 |
uint8_t | lcdMode |
uint8_t | testMode |
Detailed Description
Interface to the "tweak values" stored in EEPROM.
Tweak values are runtime configurable parameters that can be adjusted e.g. with the tether UI and saved persistently in EEPROM.
Definition in file tweak_data.h.