Hello,
I would like to try the open_loop_velocity_example on the B-G431B-ESC1. I have set up the board in Arduino IDE and I can verify the code, so i think the setup should be good to go.
For the setup of the driver class i would now need to change the pins for the PWM numbers for each motor phase.
I don’t know if I am just stupid but i cant find the Pin numbers anywhere ?
It seems to work with this line
BLDCDriver6PWM driver = BLDCDriver6PWM(A_PHASE_UH, A_PHASE_UL, A_PHASE_VH, A_PHASE_VL, A_PHASE_WH, A_PHASE_WL);
The pin numbers are defined somewhere and associated with these names.
That’s great I will try it. Thanks for the quick help.
There are many examples of code etc for this board available on the forum through the search function.
You can find the pin “define” names in the variant definition, which is specific to this board: