2020-08-22, 12:44 PM
you can use a switch but I can't think of why you would ever want to.
The purpose of the pins is so the same code works on all of my motor controllers and the board itself grounds these pins or not depending on which controller it is.
digital pin6 determines:
1 - RC pwm:
digital pin9 pwm output standard ESC (1-2 ms pulse every 20 ms)
pin2 esc programming input/output (with arduinousblinker script)
0 - Hbridge
digital pin2 and pin3 for low side, pin9 and pin10 for high side
for the mode 2 or other changes you have to recompile
The purpose of the pins is so the same code works on all of my motor controllers and the board itself grounds these pins or not depending on which controller it is.
digital pin6 determines:
1 - RC pwm:
digital pin9 pwm output standard ESC (1-2 ms pulse every 20 ms)
pin2 esc programming input/output (with arduinousblinker script)
0 - Hbridge
digital pin2 and pin3 for low side, pin9 and pin10 for high side
for the mode 2 or other changes you have to recompile