Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 3:ecd394ae8118
- Parent:
- 2:f832050b1b4a
- Child:
- 4:5f147787c2ca
diff -r f832050b1b4a -r ecd394ae8118 main.cpp --- a/main.cpp Mon Oct 21 12:28:08 2019 +0000 +++ b/main.cpp Mon Oct 21 12:32:20 2019 +0000 @@ -86,7 +86,7 @@ tieme = t.read(); t.reset(); //pc.printf("pError: %f dError: %f iError: %f PWM: %f\n\r", pErrorC, dError, iError, MotorPWM); - } while (pErrorC > 0.01 || pErrorC < -0.01 ||dError > 0.01 || dError < -0.01); + } while (pErrorC > 0.001 || pErrorC < -0.001 ||dError > 0.01 || dError < -0.01); //*E = 0; t.stop(); }