PID MD(IR2302) enc(AMT 102) created by Kouhei Umezawa

Dependencies:   mbed QEI PID

Files at this revision

API Documentation at this revision

Comitter:
umekou
Date:
Tue Oct 12 07:19:46 2021 +0000
Parent:
2:986a5e6979b9
Commit message:
komento

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 986a5e6979b9 -r 45ee5127c872 main.cpp
--- a/main.cpp	Tue Oct 12 07:11:17 2021 +0000
+++ b/main.cpp	Tue Oct 12 07:19:46 2021 +0000
@@ -19,7 +19,7 @@
     rori.setOutputLimits(-1.0,1.0);
     rori.setBias(0);
     rori.setMode(1);
-    rori.setSetPoint(60.0);
+    rori.setSetPoint(60.0);//
     
     AngleSet = (float)enc1.getPulses();
     while(1){