PID Kontrol atas, tanpa library. Baru P dan D, tapi D error

Dependencies:   Motor mbed millis

Fork of Test_PID by KRAI 2017

Revision:
3:e4cbba0706b0
Parent:
2:89d69eae8917
Child:
4:8e6dfc416ecf
--- 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;