mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-05 02:24:26 +02:00
Updated ADC Control (markdown)
@@ -26,10 +26,10 @@ Auto-calibration finds the minimum, middle and maximum values for ADC inputs.
|
|||||||
* Release potentiometers to the resting position
|
* Release potentiometers to the resting position
|
||||||
* Press the power button to confirm or wait for the 20 sec timeout
|
* Press the power button to confirm or wait for the 20 sec timeout
|
||||||
|
|
||||||
The limits will be stored in flash memory and will be erased only if you fully delete memory before flashing.<br />
|
⚠The limits will be stored in flash memory and will be erased only if you fully delete memory before flashing.<br />
|
||||||
An alternative to bypass those limits is to change **FLASH_WRITE_KEY** in config.h to a value different than 0x1234.
|
An alternative to bypass those limits is to change **FLASH_WRITE_KEY** in config.h to a value different than 0x1234.
|
||||||
|
|
||||||
⚠ Auto-calibration only works if both ADC inputs are connected/used.
|
Auto-calibration only works if both ADC inputs are connected/used.
|
||||||
|
|
||||||
|
|
||||||
# Extra Features
|
# Extra Features
|
||||||
@@ -38,6 +38,9 @@ An alternative to bypass those limits is to change **FLASH_WRITE_KEY** in config
|
|||||||
* move and hold the pots to a desired limit position for Current(ADC1) and Speed(ADC2), maximum being the values you have put in config.h
|
* move and hold the pots to a desired limit position for Current(ADC1) and Speed(ADC2), maximum being the values you have put in config.h
|
||||||
* press the power button to confirm or wait for the 10 sec timeout
|
* press the power button to confirm or wait for the 10 sec timeout
|
||||||
|
|
||||||
|
⚠The settings will be stored in flash memory and will be erased only if you fully delete memory before flashing.<br />
|
||||||
|
An alternative to bypass those settings is to change **FLASH_WRITE_KEY** in config.h to a value different than 0x1234.
|
||||||
|
|
||||||
## Support of extra buttons:
|
## Support of extra buttons:
|
||||||
Uncomment #define **SUPPORT_BUTTONS_RIGHT** to use right sensor board cable for button inputs. Disable DEBUG_SERIAL_USART3!
|
Uncomment #define **SUPPORT_BUTTONS_RIGHT** to use right sensor board cable for button inputs. Disable DEBUG_SERIAL_USART3!
|
||||||
Variables button1 and button2 can be later used to implement different behavior
|
Variables button1 and button2 can be later used to implement different behavior
|
||||||
|
Reference in New Issue
Block a user