PID Kontrol atas, tanpa library. Baru P dan D, tapi D error
Dependencies: Motor mbed millis
Revision 3:e4cbba0706b0, committed 2016-10-18
- Comitter:
- Joshua23
- Date:
- Tue Oct 18 12:28:57 2016 +0000
- Parent:
- 2:89d69eae8917
- Commit message:
- Rev 18 Oct 2016
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Oct 18 11:56:30 2016 +0000 +++ b/main.cpp Tue Oct 18 12:28:57 2016 +0000 @@ -25,7 +25,7 @@ float D, Kd; // Variabel Sabeb - int desired_rpm = 125; + int desired_rpm = 100; // Test Variabel int selisiherror;