mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-05 18:44:28 +02:00
Updated ADC Control (markdown)
@@ -9,15 +9,6 @@ This variant can be used with potentiometers or hall sensors.
|
|||||||
|
|
||||||
Proceed with [calibration](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki/Calibration) procedure.
|
Proceed with [calibration](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki/Calibration) procedure.
|
||||||
|
|
||||||
# Extra Features
|
|
||||||
## Setup current and speed limit:
|
|
||||||
* press the power button for more than 5 sec and immediately after the beep sound press one more time shortly
|
|
||||||
* 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
|
|
||||||
|
|
||||||
⚠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