Ansteuerung Servomotor

Dependencies:   PM2_Libary

Files at this revision

API Documentation at this revision

Comitter:
mrford1616
Date:
Mon Apr 12 08:47:15 2021 +0000
Parent:
10:c5d85e35758c
Commit message:
V1.0

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r c5d85e35758c -r 087b2023d238 main.cpp
--- a/main.cpp	Wed Apr 07 12:13:50 2021 +0000
+++ b/main.cpp	Mon Apr 12 08:47:15 2021 +0000
@@ -84,7 +84,7 @@
             speedController_M1.setDesiredSpeedRPS( 1.0f);
             speedController_M2.setDesiredSpeedRPS(-0.5f);
             /* write output voltage to motor M3 */
-            pwmOut_M3.write(0.75);
+            pwmOut_M3.write(1);
 
             /* command servo position via output time, this needs to be calibrated */
             servo_S1.SetPosition(servoOutput_mus_S1);