EFeru / hoverboard-firmware-hack-FOC

With Field Oriented Control (FOC)
GNU General Public License v3.0
1.16k stars 960 forks source link

How can the tx and rx of the right uart be changed to reverse, high and low speed #379

Open gutabsgf opened 1 year ago

gutabsgf commented 1 year ago

Variant

HOVERCAR

Control type

FOC

Control mode

Torque

Description

How can I change the source code to cancel the double click reversing function of the brake pedal? How to change the source code to change the green line and blue line of the right uart to use the switch to control the reverse function and the high and low speed function

Candas1 commented 1 year ago

You will have to learn coding for that.

gutabsgf commented 1 year ago

Can you give some tips? For example, which file I need to modify

gutabsgf commented 1 year ago

为此,您必须学习编码。

Can you give some tips? For example, which file I need to modify

Candas1 commented 1 year ago

Have you checked the other issues if the same question was asked ?

gutabsgf commented 1 year ago

如果问同样的问题,您是否检查过其他问题?

Is it okay to give me an email address

gutabsgf commented 1 year ago

如果问同样的问题,您是否检查过其他问题?

I would like to ask you which file needs to be modified to achieve the function I want!

Candas1 commented 1 year ago

I might add something like that later this year But for ow I don't have time for that Bye

gutabsgf commented 1 year ago

我可能会在今年晚些时候添加类似的东西,但对于哦,我没有时间再见

I'm looking forward to it! Thank you

RoboDurden commented 1 year ago

Search main.c and setup.c I guess to learn how a digital input pin is initialized. Then make sure that no uart3 is initialized and initialize the two pins as digital inputs. Then you could read the two pins in main.c and alter the speed..

gutabsgf commented 1 year ago

Thank you, can you give me an email?

RoboDurden commented 1 year ago

No. Make progress yourself