You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connect the reverse switch to the 2nd channel (one pin at 3.3v and the other pin connected to channel 2 and a pull down resistor). Then there are 2 solutions:
Update the code to detect when the switch is on or off. Flip the sign of the 1st channel based on the switch value. Don't forget to disable/remove the other functionality for the 2nd channel (like the steering mix)
Use Variant Hovercar, and turn the switch twice on and off quickly. The throttle Channel will be reversed. Turn the switch twice on off and it will reverse back. (You can use a pulse button, instead of a toggle switch)
Variant
ADC
Control type
None
Control mode
None
Description
How to make a potentiometer on one channel and a reverse button on the second channel?
The button is a two-position switch
The text was updated successfully, but these errors were encountered: