-
Notifications
You must be signed in to change notification settings - Fork 32
Library is very slow #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Have you tryed to run without it? |
I have, and it works, but I would like to see this addressed in the right library. |
Might be smart to let a |
I removed delays and controll my PS4 BT remote robot in this manner if(millis()- TmStmpMtrCtrlOld >10){ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you have a robot, use for example, the following code while driving:
leftMotor.setmotor(_CCW, 0); rightMotor.setmotor(_CCW, 0);
The robot will turn the left wheel off first, then delay, and then the right wheel, causing the robot to turn 10-20 degrees left.
This is caused by
WEMOS_Motor_Shield_Arduino_Library/src/WEMOS_Motor.cpp
Line 114 in 3497cb3
Is there a reason that this delay is here? Whatever the reason is, blocking the entire code for 100 ms is not the solution. I highly recommend removing the delay, it is not appropriate. If there are I²C problems, these must be solved in a different way than this.
The text was updated successfully, but these errors were encountered: