Replies: 2 comments
-
useful control method: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Rebuilt and started a repository. I am open to ideas and criticism, as I am very much so an "untrained" programmer. https://github.com/reed-dan/hoverboard_hack_esp32_manualspeed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
20240216_ManualSpeed2.zip
I started working on an esp32 script to allow for manual speed control. It is very rough right now. My goals is to make an esp32 base and anyone can modify it for their input source. Currently it take serial in commands.
You will need to input the slaveids for each of your motors
//define the motors
int motors_all[] = {0, 1};
int motors_right[] = {0};
int motors_left[] = {1};
Example Commands
Command|Slave|Speed|wstate
Hover|all|100|1
set all motors to speed 100
Hover|right|100|1
set all motors to speed 100
Hover|left|100|1
set left motors to speed 100
Stop
set all motors to speed 0
Beta Was this translation helpful? Give feedback.
All reactions