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.
Dependencies: mbed
Diff: controls.cpp
- Revision:
- 6:688449345fff
- Parent:
- 4:c8929825a5f4
- Child:
- 7:edd065946e9b
--- a/controls.cpp Wed Nov 22 02:33:33 2017 +0000 +++ b/controls.cpp Wed Nov 22 05:56:05 2017 +0000 @@ -86,7 +86,7 @@ if(cycle_speed_M2<0) cycle_speed_M2=0; -/* + //adjusting delays based off PID_error corrections pulse_M1 = (pulse_cycle-pulse_cycle*(1-cycle_speed_M1)); period_M1 = (pulse_cycle-pulse_cycle*cycle_speed_M1); @@ -128,6 +128,6 @@ T.stop(); T_M1.stop(); T_M2.stop(); - */ + }