mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 18:14:28 +02:00
Updated Input Calibration (markdown)
@@ -14,7 +14,7 @@ Setting Minimum, Middle and Maximum position:
|
||||
* Turn the potis to maximum position, write value 1: to **INPUT1_MAX** and value 2: to **INPUT2_MAX** in config.h
|
||||
* For middle resting potis, let the potis in the middle resting position, write value 1: to **INPUT1_MID** and value 2: to **INPUT2_MID**
|
||||
|
||||
Config.h values will be ignored if you have already used the auto-calibration procedure below.
|
||||
[Config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h) values will be ignored if you have already used the auto-calibration procedure below.
|
||||
|
||||
# Auto-calibration:
|
||||
Auto-calibration finds the minimum, middle and maximum values for the inputs.
|
||||
@@ -48,4 +48,4 @@ In this example:
|
||||
|
||||
|
||||
⚠The limits will be stored in flash memory and will be erased only if you fully delete memory before flashing, this can be done by erasing chip in st-link utility.<br />
|
||||
An alternative to bypass those limits is to change **FLASH_WRITE_KEY** in config.h.
|
||||
An alternative to bypass those limits is to change **FLASH_WRITE_KEY** in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h).
|
Reference in New Issue
Block a user