Updated Variant ADC (markdown)

Candas1
2022-06-23 10:31:06 +02:00
parent 7878edb150
commit d0a44e8b25

@@ -1,6 +1,8 @@
This variant can be used with analog inputs like potentiometers, joysticks or throttle/brake handles, even if using hall sensors.
This variant can be used with analog inputs like potentiometers, joysticks or a throttle handle, even if using hall sensors.
[Here](https://www.youtube.com/watch?v=q451WdEPkjo) is a video walking you through how to setup the firmare to use it with a joystick.
For driving with a separate throttle and brake, please use [Hovercar](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Variant-HOVERCAR) variant.
## :gear: Configuration/Parameters
* ADC_ALTERNATE_CONNECT : to swap the inputs, in case you cannot do it physically
* ADC_PROTECT_THRESH : to adjust the threshold below/above the MIN/MAX ADC values that will trigger ADC protection